diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4c9eaf6..f408b993 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,12 @@ on: branches: - main - master + - full_bindings pull_request: branches: - main - master + - full_bindings issue_comment: types: - created @@ -18,8 +20,10 @@ on: # This can also manually run workflow_dispatch: {} -jobs: +env: + LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings +jobs: test_with_bindgen: # When the event is not issue_comment, always run the tests. When it is, # check if (1) the comment is on pull request, (2) the comment author is the @@ -56,19 +60,21 @@ jobs: # only one stable Rust toolchain per combination of a platform and # an R version (e.g. Windows and R-release) to emit bindings. - {os: windows-latest, r: 'release', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} - - {os: windows-latest, r: 'release', rust-version: 'nightly-msvc', target: 'x86_64-pc-windows-gnu'} + # - {os: windows-latest, r: 'release', rust-version: 'nightly-msvc', target: 'x86_64-pc-windows-gnu'} - {os: windows-latest, r: 'devel', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} - - {os: windows-latest, r: 'release', rust-version: 'stable-gnu', target: 'x86_64-pc-windows-gnu'} + # - {os: windows-latest, r: 'release', rust-version: 'stable-gnu', target: 'x86_64-pc-windows-gnu'} - {os: windows-latest, r: 'oldrel', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} + - {os: windows-latest, r: '4.2', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true' } - - {os: macOS-latest, r: 'release', rust-version: 'nightly'} + # - {os: macOS-latest, r: 'release', rust-version: 'nightly'} - {os: macOS-latest, r: 'devel', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'oldrel', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'release', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'release', rust-version: 'stable', target: 'x86_64-apple-darwin', skip-tests: 'true', emit-bindings: 'true'} + - {os: macOS-latest, r: '4.2', rust-version: 'stable', emit-bindings: 'true' } + - {os: macOS-latest, r: '4.2', rust-version: 'stable', target: 'x86_64-apple-darwin', skip-tests: 'true', emit-bindings: 'true'} - - - {os: ubuntu-latest, r: 'release', rust-version: 'nightly'} + # - {os: ubuntu-latest, r: 'release', rust-version: 'nightly'} - {os: ubuntu-latest, r: 'release', rust-version: 'stable', emit-bindings: 'true'} - {os: ubuntu-latest, r: 'release', rust-version: 'stable', target: 'aarch64-unknown-linux-gnu', skip-tests: 'true', emit-bindings: 'true'} @@ -78,6 +84,9 @@ jobs: - {os: ubuntu-latest, r: 'oldrel', rust-version: 'stable', emit-bindings: 'true'} - {os: ubuntu-latest, r: 'oldrel', rust-version: 'stable', target: 'aarch64-unknown-linux-gnu', skip-tests: 'true', emit-bindings: 'true'} + - {os: ubuntu-latest, r: '4.2', rust-version: 'stable', emit-bindings: 'true' } + - {os: ubuntu-latest, r: '4.2', rust-version: 'stable', target: 'aarch64-unknown-linux-gnu', skip-tests: 'true', emit-bindings: 'true'} + env: RSPM: ${{ matrix.config.rspm }} @@ -123,7 +132,7 @@ jobs: if: runner.os == 'Windows' run: | # Configure linker - echo "RUSTFLAGS=-C linker=x86_64-w64-mingw32.static.posix-gcc.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "RUSTFLAGS=-Clinker=x86_64-w64-mingw32.static.posix-gcc.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Create libgcc_eh mock New-Item -Path libgcc_mock -Type Directory @@ -175,6 +184,8 @@ jobs: # https://github.com/r-lib/ps/commit/a24f2c4d1bdba63be14e7729b9ab81d0ed9f719e # Environment variables are required fir Mac-OS-11.0, see # https://github.com/extendr/libR-sys/issues/35 + + # TODO: remove everything except `LIBCLANG_PATH` - name: Configure macOS if: runner.os == 'macOS' run: | @@ -231,7 +242,6 @@ jobs: . ./ci-cargo.ps1 ci-cargo build -vv --features use-bindgen $(if ($env:RUST_TARGET -ne '') {"--target=$env:RUST_TARGET"} ) -ActionName "Building for target: $env:RUST_TARGET" env: - LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings RUST_TARGET: ${{ matrix.config.target }} - name: Upload generated bindings @@ -241,14 +251,13 @@ jobs: uses: actions/upload-artifact@v4 with: name: generated_binding-${{ matrix.config.os }}-R-${{ matrix.config.r }}-rust-${{ matrix.config.rust-version }}-${{ matrix.config.target || 'default'}} - path: generated_bindings + path: ${{ env.LIBRSYS_BINDINGS_OUTPUT_PATH }} check_generate_bindings_flag: name: Check if [generate bindings] is in latest commit message runs-on: ubuntu-latest outputs: head_commit_message: ${{ steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE }} - # generate_bindings: ${{ contains(steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE, '[generate bindings]') }} steps: - uses: actions/checkout@v4 with: @@ -261,8 +270,8 @@ jobs: echo "${{ steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE }}" echo "${{ contains(steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE, '[generate bindings]') }}" - pr_generated_bindings: - name: Make PR with generated bindings + commit_generated_bindings: + name: Commit generated bindings needs: [test_with_bindgen, check_generate_bindings_flag] if: ${{ contains(needs.check_generate_bindings_flag.outputs.head_commit_message, '[generate bindings]') }} runs-on: ubuntu-latest @@ -279,10 +288,11 @@ jobs: # Replace the default bindings cd bindings - for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do - # Choose the newest version except for devel - ln --force -s "$(ls -1 ./bindings-${x}-*.rs | grep -v devel | sort | tail -1)" ./bindings-${x}.rs - done + # TODO: this needs adjustment for the new output files... + # for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do + # # Choose the newest version except for devel + # ln --force -s "$(ls -1 ./bindings-*-${x}-*.rs | grep -v devel | sort | tail -1)" ./bindings-*-${x}.rs + # done cd .. - name: Add generated bindings run: | @@ -291,70 +301,4 @@ jobs: git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" git commit -m "Update bindings [skip ci]" - name: Push to PR branch - run: git push - - # Gather the generated bindings and push them to generated_bindings branch. - # If we need to update the bindings, create a pull request from that branch. - commit_generated_bindings: - needs: test_with_bindgen - runs-on: ubuntu-latest - # In the case of /bindings command, we don't need to check anything else - # because it should have checked in test_with_bindings job. In the other - # cases, we only want to invoke this on the master branch. - if: github.event_name == 'issue_comment' || github.ref == 'refs/heads/master' - steps: - - uses: actions/checkout@v4 - - - uses: actions/download-artifact@v4 - - - name: Switch branch - if: github.event_name != 'issue_comment' - run: | - # 1) If there's already generated_bindings branch, checkout it. - # 2) If generated_binding branch is not created, create it from the default branch. - if git ls-remote --exit-code --heads origin generated_bindings 2>&1 >/dev/null; then - git fetch origin --no-tags --prune --depth=1 generated_bindings - git checkout generated_bindings - else - git switch -c generated_bindings - fi - - - name: Switch branch (/bindings command) - if: github.event_name == 'issue_comment' - uses: r-lib/actions/pr-fetch@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Commit the generated bindings - run: | - # Update or add the bindings - cp generated_binding-*/*.rs bindings/ - - # Replace the default bindings - cd bindings - for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do - # Choose the newest version except for devel - ln --force -s "$(ls -1 ./bindings-${x}-*.rs | grep -v devel | sort | tail -1)" ./bindings-${x}.rs - done - cd .. - - # detect changes (the code is derived from https://stackoverflow.com/a/3879077) - git add bindings/ - git update-index --refresh - if ! git diff-index --quiet HEAD -- bindings/; then - git config --local user.name "${GITHUB_ACTOR}" - git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git commit -m "Update bindings [skip ci]" - else - echo "No changes" - fi - - - name: Push - if: github.event_name != 'issue_comment' - run: git push origin generated_bindings - - - name: Push (/bindings command) - if: github.event_name == 'issue_comment' - uses: r-lib/actions/pr-push@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + run: git push \ No newline at end of file diff --git a/.ignore b/.ignore new file mode 100644 index 00000000..ded7aea3 --- /dev/null +++ b/.ignore @@ -0,0 +1 @@ +bindings/*.rs diff --git a/Cargo.toml b/Cargo.toml index 4db0ba7d..0412f648 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,7 @@ repository = "https://github.com/extendr/libR-sys" [build-dependencies] bindgen = { version = "0.69.4", optional = true, features = ["experimental"] } regex = { version = "*", optional = true, default-features = false } +fs_extra = "1.3" [features] default = ["runtime"] @@ -36,6 +37,120 @@ runtime = ["bindgen/runtime"] # Enables generation of layout-tests in bindgen layout_tests = ["use-bindgen"] +disabled = [] +# TODO: include default headers... + +# TODO:?! +# stamp-h.in +# Makefile = [] +# config.in = [] +# Makefile.in = [] +# Makefile.win = [] + +# internal headers, not installed +# Rgraphics = [] +# Internal.h +# Print = [] +# Parse = [] +# Errormsg = [] +# Startup = [] +# Rconnections = [] +# rlocale = [] +# Fileio = [] +# Graphics = [] +# Rmodules/RX11 +# Rmodules/Rlapack +# Rmodules/Rinternet // doesn't state that is internal...but it is... +# Rmath0.in = [] +# Rinlinedfuns = [] +# Defn = [] +# IOStuff = [] + +# R_ext/* +Print = [] +Parse = ["Rinternals"] +Error = [] +Itermacros = [] +Utils = ["Boolean", "Complex"] +stats_stubs = [] +GetX11Image = ["Boolean"] +# TODO: combine them? +GraphicsEngine = ["GraphicsDevice", "Rinternals", "Boolean"] +GraphicsDevice = ["GraphicsEngine", "Rinternals", "Boolean"] +Callbacks = ["Rinternals", "Boolean"] +Rdynload = ["Boolean"] +RS = [] +BLAS = ["Complex"] +Arith = [] +Boolean = [] +Applic = ["Boolean"] +Linpack = [] +Constants = [] +Riconv = [] +RStartup = ["Boolean"] +QuartzDevice = [] +libextern = [] +MathThreads = [] +Memory = [] +Connections = ["Boolean"] +PrtUtil = ["Rinternals", "Complex"] +Altrep = ["Rinternals", "Boolean", "Complex", "Rdynload"] +Rallocators = [] +Visibility = [] +stats_package = [] +Complex = [] +Lapack = ["Complex"] +Random = [] +eventloop = [] +R_ext = [ + "GraphicsEngine", + "Error", + "Itermacros", + "Utils", + "stats_stubs", + "GetX11Image", + "GraphicsDevice", + "Callbacks", + "Rdynload", + "Parse", + "RS", + "BLAS", + "Arith", + "Boolean", + "Applic", + "Linpack", + "Constants", + "Riconv", + "RStartup", + "Print", + "QuartzDevice", + "libextern", + "MathThreads", + "Memory", + "Connections", + "PrtUtil", + "Altrep", + "Rallocators", + "Visibility", + "stats_package", + # "Makefile", + "Complex", + "Lapack", + "Random", + "eventloop", +] +# R_INCLUDES/* (in root) +libintl = [] +R = [] +Rconfig = [] +Rdefines = [] +Rembedded = ["Boolean"] +Rinterface = [] +Rinternals = ["Boolean", "Complex", "Rdynload"] +Rmath = [] +# GraphicsBase = [] # private +# Rdynpriv = [] # ?? maybe private? + [lib] # Some code comments on R's source code might be accidentally treated as Rust's # doc test. See https://github.com/extendr/libR-sys/issues/194 for the details. diff --git a/README.md b/README.md index a638bf96..1a6cad5c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The bindings can be generated using [`bindgen`](https://github.com/rust-lang/rus `bindgen` requires [`libclang`](https://clang.llvm.org/docs/Tooling.html), which should be installed first. This library relies on `LIBCLANG_PATH` environment variable to determine path to the appropriate version of `libclang`. -The output folder for bindings can be configured using `LIBRSYS_BINDINGS_OUTPUT_PATH` environment variable, thus make sure it is set to e.g `bindings`. +The output folder for bindings can be configured using `LIBRSYS_BINDINGS_OUTPUT_PATH` environment variable, thus make sure it is set to e.g `src/bindings`. - **Linux** @@ -90,6 +90,12 @@ The output folder for bindings can be configured using `LIBRSYS_BINDINGS_OUTPUT_ PATH=/usr/local/opt/llvm/bin:$PATH ``` + Alternatively, one may merely set + + ```shell + export LIBCLANG_PATH=$(brew --prefix llvm)/lib + ``` + Build & test using ```shell diff --git a/bindings/bindings-Altrep-linux-aarch64-R4.2.rs b/bindings/bindings-Altrep-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c215902d --- /dev/null +++ b/bindings/bindings-Altrep-linux-aarch64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-linux-aarch64-R4.3.rs b/bindings/bindings-Altrep-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..0591236d --- /dev/null +++ b/bindings/bindings-Altrep-linux-aarch64-R4.3.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-linux-aarch64-R4.4.rs b/bindings/bindings-Altrep-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..38fd369f --- /dev/null +++ b/bindings/bindings-Altrep-linux-aarch64-R4.4.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..941d8f06 --- /dev/null +++ b/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-linux-x86_64-R4.2.rs b/bindings/bindings-Altrep-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c215902d --- /dev/null +++ b/bindings/bindings-Altrep-linux-x86_64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-linux-x86_64-R4.3.rs b/bindings/bindings-Altrep-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..0591236d --- /dev/null +++ b/bindings/bindings-Altrep-linux-x86_64-R4.3.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-linux-x86_64-R4.4.rs b/bindings/bindings-Altrep-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..38fd369f --- /dev/null +++ b/bindings/bindings-Altrep-linux-x86_64-R4.4.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..941d8f06 --- /dev/null +++ b/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-macos-aarch64-R4.2.rs b/bindings/bindings-Altrep-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5fd8edef --- /dev/null +++ b/bindings/bindings-Altrep-macos-aarch64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-macos-aarch64-R4.3.rs b/bindings/bindings-Altrep-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..f069474c --- /dev/null +++ b/bindings/bindings-Altrep-macos-aarch64-R4.3.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-macos-aarch64-R4.4.rs b/bindings/bindings-Altrep-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..0fa86f01 --- /dev/null +++ b/bindings/bindings-Altrep-macos-aarch64-R4.4.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..8f704649 --- /dev/null +++ b/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-macos-x86_64-R4.2.rs b/bindings/bindings-Altrep-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5fd8edef --- /dev/null +++ b/bindings/bindings-Altrep-macos-x86_64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-macos-x86_64-R4.4.rs b/bindings/bindings-Altrep-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..0fa86f01 --- /dev/null +++ b/bindings/bindings-Altrep-macos-x86_64-R4.4.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.2.rs b/bindings/bindings-Altrep-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..6b21e087 --- /dev/null +++ b/bindings/bindings-Altrep-windows-x86_64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ea875ee4 --- /dev/null +++ b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..3b865bc9 --- /dev/null +++ b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..947b3781 --- /dev/null +++ b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Applic-linux-aarch64-R4.2.rs b/bindings/bindings-Applic-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..0d6d6e00 --- /dev/null +++ b/bindings/bindings-Applic-linux-aarch64-R4.2.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-aarch64-R4.3.rs b/bindings/bindings-Applic-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..6165af5a --- /dev/null +++ b/bindings/bindings-Applic-linux-aarch64-R4.3.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-aarch64-R4.4.rs b/bindings/bindings-Applic-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..4a25d73d --- /dev/null +++ b/bindings/bindings-Applic-linux-aarch64-R4.4.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..70adbb39 --- /dev/null +++ b/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-x86_64-R4.2.rs b/bindings/bindings-Applic-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..0d6d6e00 --- /dev/null +++ b/bindings/bindings-Applic-linux-x86_64-R4.2.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-x86_64-R4.3.rs b/bindings/bindings-Applic-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..6165af5a --- /dev/null +++ b/bindings/bindings-Applic-linux-x86_64-R4.3.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-x86_64-R4.4.rs b/bindings/bindings-Applic-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..4a25d73d --- /dev/null +++ b/bindings/bindings-Applic-linux-x86_64-R4.4.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..70adbb39 --- /dev/null +++ b/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-aarch64-R4.2.rs b/bindings/bindings-Applic-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b1e34178 --- /dev/null +++ b/bindings/bindings-Applic-macos-aarch64-R4.2.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-aarch64-R4.3.rs b/bindings/bindings-Applic-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..e673183e --- /dev/null +++ b/bindings/bindings-Applic-macos-aarch64-R4.3.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-aarch64-R4.4.rs b/bindings/bindings-Applic-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..2f600f50 --- /dev/null +++ b/bindings/bindings-Applic-macos-aarch64-R4.4.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..aca18a8c --- /dev/null +++ b/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-x86_64-R4.2.rs b/bindings/bindings-Applic-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b1e34178 --- /dev/null +++ b/bindings/bindings-Applic-macos-x86_64-R4.2.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-x86_64-R4.4.rs b/bindings/bindings-Applic-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..2f600f50 --- /dev/null +++ b/bindings/bindings-Applic-macos-x86_64-R4.4.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.2.rs b/bindings/bindings-Applic-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..ef0c4f3e --- /dev/null +++ b/bindings/bindings-Applic-windows-x86_64-R4.2.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.3.rs b/bindings/bindings-Applic-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..9aaab6b4 --- /dev/null +++ b/bindings/bindings-Applic-windows-x86_64-R4.3.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/bindings/bindings-Applic-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..87bb76b9 --- /dev/null +++ b/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..2b92b1cb --- /dev/null +++ b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Arith-linux-aarch64-R4.2.rs b/bindings/bindings-Arith-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..31fecee6 --- /dev/null +++ b/bindings/bindings-Arith-linux-aarch64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-aarch64-R4.3.rs b/bindings/bindings-Arith-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..69c0b50e --- /dev/null +++ b/bindings/bindings-Arith-linux-aarch64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-aarch64-R4.4.rs b/bindings/bindings-Arith-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..da580615 --- /dev/null +++ b/bindings/bindings-Arith-linux-aarch64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..61f419b0 --- /dev/null +++ b/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-x86_64-R4.2.rs b/bindings/bindings-Arith-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..31fecee6 --- /dev/null +++ b/bindings/bindings-Arith-linux-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-x86_64-R4.3.rs b/bindings/bindings-Arith-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..69c0b50e --- /dev/null +++ b/bindings/bindings-Arith-linux-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-x86_64-R4.4.rs b/bindings/bindings-Arith-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..da580615 --- /dev/null +++ b/bindings/bindings-Arith-linux-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..61f419b0 --- /dev/null +++ b/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-aarch64-R4.2.rs b/bindings/bindings-Arith-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..d85a0747 --- /dev/null +++ b/bindings/bindings-Arith-macos-aarch64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-aarch64-R4.3.rs b/bindings/bindings-Arith-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ea58362d --- /dev/null +++ b/bindings/bindings-Arith-macos-aarch64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-aarch64-R4.4.rs b/bindings/bindings-Arith-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..42b78e68 --- /dev/null +++ b/bindings/bindings-Arith-macos-aarch64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..b3ff2831 --- /dev/null +++ b/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-x86_64-R4.2.rs b/bindings/bindings-Arith-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..d85a0747 --- /dev/null +++ b/bindings/bindings-Arith-macos-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-x86_64-R4.4.rs b/bindings/bindings-Arith-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..42b78e68 --- /dev/null +++ b/bindings/bindings-Arith-macos-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.2.rs b/bindings/bindings-Arith-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..9260be2c --- /dev/null +++ b/bindings/bindings-Arith-windows-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.3.rs b/bindings/bindings-Arith-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ed820878 --- /dev/null +++ b/bindings/bindings-Arith-windows-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.4.rs b/bindings/bindings-Arith-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..d22610ac --- /dev/null +++ b/bindings/bindings-Arith-windows-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..af874a61 --- /dev/null +++ b/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-BLAS-linux-aarch64-R4.2.rs b/bindings/bindings-BLAS-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..02369fee --- /dev/null +++ b/bindings/bindings-BLAS-linux-aarch64-R4.2.rs @@ -0,0 +1,718 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-linux-aarch64-R4.3.rs b/bindings/bindings-BLAS-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..7401b357 --- /dev/null +++ b/bindings/bindings-BLAS-linux-aarch64-R4.3.rs @@ -0,0 +1,810 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/bindings/bindings-BLAS-linux-aarch64-R4.4.rs b/bindings/bindings-BLAS-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..775f2221 --- /dev/null +++ b/bindings/bindings-BLAS-linux-aarch64-R4.4.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs b/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..4df2d061 --- /dev/null +++ b/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-linux-x86_64-R4.2.rs b/bindings/bindings-BLAS-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..02369fee --- /dev/null +++ b/bindings/bindings-BLAS-linux-x86_64-R4.2.rs @@ -0,0 +1,718 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-linux-x86_64-R4.3.rs b/bindings/bindings-BLAS-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..7401b357 --- /dev/null +++ b/bindings/bindings-BLAS-linux-x86_64-R4.3.rs @@ -0,0 +1,810 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/bindings/bindings-BLAS-linux-x86_64-R4.4.rs b/bindings/bindings-BLAS-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..775f2221 --- /dev/null +++ b/bindings/bindings-BLAS-linux-x86_64-R4.4.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs b/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..4df2d061 --- /dev/null +++ b/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-macos-aarch64-R4.2.rs b/bindings/bindings-BLAS-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..48e4f235 --- /dev/null +++ b/bindings/bindings-BLAS-macos-aarch64-R4.2.rs @@ -0,0 +1,742 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-macos-aarch64-R4.3.rs b/bindings/bindings-BLAS-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d921696a --- /dev/null +++ b/bindings/bindings-BLAS-macos-aarch64-R4.3.rs @@ -0,0 +1,834 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/bindings/bindings-BLAS-macos-aarch64-R4.4.rs b/bindings/bindings-BLAS-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..50f4f382 --- /dev/null +++ b/bindings/bindings-BLAS-macos-aarch64-R4.4.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs b/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..b4c5ead5 --- /dev/null +++ b/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-macos-x86_64-R4.2.rs b/bindings/bindings-BLAS-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..48e4f235 --- /dev/null +++ b/bindings/bindings-BLAS-macos-x86_64-R4.2.rs @@ -0,0 +1,742 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-macos-x86_64-R4.4.rs b/bindings/bindings-BLAS-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..50f4f382 --- /dev/null +++ b/bindings/bindings-BLAS-macos-x86_64-R4.4.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.2.rs b/bindings/bindings-BLAS-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..47131cd8 --- /dev/null +++ b/bindings/bindings-BLAS-windows-x86_64-R4.2.rs @@ -0,0 +1,742 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.3.rs b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4864189a --- /dev/null +++ b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs @@ -0,0 +1,834 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..0c64c566 --- /dev/null +++ b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..a1c1586e --- /dev/null +++ b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-Boolean-linux-aarch64-R4.2.rs b/bindings/bindings-Boolean-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e30cf646 --- /dev/null +++ b/bindings/bindings-Boolean-linux-aarch64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-aarch64-R4.3.rs b/bindings/bindings-Boolean-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..f7a3e078 --- /dev/null +++ b/bindings/bindings-Boolean-linux-aarch64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-aarch64-R4.4.rs b/bindings/bindings-Boolean-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..f427c798 --- /dev/null +++ b/bindings/bindings-Boolean-linux-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..c81b8584 --- /dev/null +++ b/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-x86_64-R4.2.rs b/bindings/bindings-Boolean-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e30cf646 --- /dev/null +++ b/bindings/bindings-Boolean-linux-x86_64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-x86_64-R4.3.rs b/bindings/bindings-Boolean-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..f7a3e078 --- /dev/null +++ b/bindings/bindings-Boolean-linux-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-x86_64-R4.4.rs b/bindings/bindings-Boolean-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..f427c798 --- /dev/null +++ b/bindings/bindings-Boolean-linux-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c81b8584 --- /dev/null +++ b/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-aarch64-R4.2.rs b/bindings/bindings-Boolean-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..c79b1209 --- /dev/null +++ b/bindings/bindings-Boolean-macos-aarch64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-aarch64-R4.3.rs b/bindings/bindings-Boolean-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..0a432824 --- /dev/null +++ b/bindings/bindings-Boolean-macos-aarch64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-aarch64-R4.4.rs b/bindings/bindings-Boolean-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..ba357112 --- /dev/null +++ b/bindings/bindings-Boolean-macos-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d0d4c56d --- /dev/null +++ b/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-x86_64-R4.2.rs b/bindings/bindings-Boolean-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..c79b1209 --- /dev/null +++ b/bindings/bindings-Boolean-macos-x86_64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-x86_64-R4.4.rs b/bindings/bindings-Boolean-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ba357112 --- /dev/null +++ b/bindings/bindings-Boolean-macos-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.2.rs b/bindings/bindings-Boolean-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..508f382d --- /dev/null +++ b/bindings/bindings-Boolean-windows-x86_64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.3.rs b/bindings/bindings-Boolean-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..b4ccc6bc --- /dev/null +++ b/bindings/bindings-Boolean-windows-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.4.rs b/bindings/bindings-Boolean-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..2baf8809 --- /dev/null +++ b/bindings/bindings-Boolean-windows-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..a8b3e38d --- /dev/null +++ b/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Callbacks-linux-aarch64-R4.2.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b28bcec6 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-aarch64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..1d8d9e97 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..2e044702 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..c6ff5a76 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-x86_64-R4.2.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b28bcec6 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-x86_64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..1d8d9e97 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..2e044702 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c6ff5a76 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-aarch64-R4.2.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..7150f0ed --- /dev/null +++ b/bindings/bindings-Callbacks-macos-aarch64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..e000e283 --- /dev/null +++ b/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..0e0946c9 --- /dev/null +++ b/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ea58b534 --- /dev/null +++ b/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-x86_64-R4.2.rs b/bindings/bindings-Callbacks-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..7150f0ed --- /dev/null +++ b/bindings/bindings-Callbacks-macos-x86_64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs b/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..0e0946c9 --- /dev/null +++ b/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..43587c07 --- /dev/null +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..3627d151 --- /dev/null +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..ce1a6bc6 --- /dev/null +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..631e8a67 --- /dev/null +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Complex-linux-aarch64-R4.2.rs b/bindings/bindings-Complex-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..6f3bd892 --- /dev/null +++ b/bindings/bindings-Complex-linux-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-aarch64-R4.3.rs b/bindings/bindings-Complex-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..267b3935 --- /dev/null +++ b/bindings/bindings-Complex-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-aarch64-R4.4.rs b/bindings/bindings-Complex-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..41d17112 --- /dev/null +++ b/bindings/bindings-Complex-linux-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..3bfa0fbe --- /dev/null +++ b/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-x86_64-R4.2.rs b/bindings/bindings-Complex-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..6f3bd892 --- /dev/null +++ b/bindings/bindings-Complex-linux-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-x86_64-R4.3.rs b/bindings/bindings-Complex-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..267b3935 --- /dev/null +++ b/bindings/bindings-Complex-linux-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-x86_64-R4.4.rs b/bindings/bindings-Complex-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..41d17112 --- /dev/null +++ b/bindings/bindings-Complex-linux-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3bfa0fbe --- /dev/null +++ b/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-aarch64-R4.2.rs b/bindings/bindings-Complex-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..ed0f57ff --- /dev/null +++ b/bindings/bindings-Complex-macos-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-aarch64-R4.3.rs b/bindings/bindings-Complex-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..5e9fbca4 --- /dev/null +++ b/bindings/bindings-Complex-macos-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-aarch64-R4.4.rs b/bindings/bindings-Complex-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..294e99f1 --- /dev/null +++ b/bindings/bindings-Complex-macos-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..b64a033d --- /dev/null +++ b/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-x86_64-R4.2.rs b/bindings/bindings-Complex-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..ed0f57ff --- /dev/null +++ b/bindings/bindings-Complex-macos-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-x86_64-R4.4.rs b/bindings/bindings-Complex-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..294e99f1 --- /dev/null +++ b/bindings/bindings-Complex-macos-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.2.rs b/bindings/bindings-Complex-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..973ddcf5 --- /dev/null +++ b/bindings/bindings-Complex-windows-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.3.rs b/bindings/bindings-Complex-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..cf2f17cc --- /dev/null +++ b/bindings/bindings-Complex-windows-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/bindings/bindings-Complex-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..aa1dfb2c --- /dev/null +++ b/bindings/bindings-Complex-windows-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..9fb46ffe --- /dev/null +++ b/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Connections-linux-aarch64-R4.2.rs b/bindings/bindings-Connections-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a4ffc397 --- /dev/null +++ b/bindings/bindings-Connections-linux-aarch64-R4.2.rs @@ -0,0 +1,103 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/bindings/bindings-Connections-linux-aarch64-R4.3.rs b/bindings/bindings-Connections-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..e1c9968c --- /dev/null +++ b/bindings/bindings-Connections-linux-aarch64-R4.3.rs @@ -0,0 +1,103 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/bindings/bindings-Connections-linux-aarch64-R4.4.rs b/bindings/bindings-Connections-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..b83058d5 --- /dev/null +++ b/bindings/bindings-Connections-linux-aarch64-R4.4.rs @@ -0,0 +1,103 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..b1e7360a --- /dev/null +++ b/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,103 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/bindings/bindings-Connections-linux-x86_64-R4.2.rs b/bindings/bindings-Connections-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..7e798068 --- /dev/null +++ b/bindings/bindings-Connections-linux-x86_64-R4.2.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-linux-x86_64-R4.3.rs b/bindings/bindings-Connections-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..e2b3030e --- /dev/null +++ b/bindings/bindings-Connections-linux-x86_64-R4.3.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-linux-x86_64-R4.4.rs b/bindings/bindings-Connections-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..3b9a6dd6 --- /dev/null +++ b/bindings/bindings-Connections-linux-x86_64-R4.4.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..282c5f5a --- /dev/null +++ b/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-macos-aarch64-R4.2.rs b/bindings/bindings-Connections-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..debbf089 --- /dev/null +++ b/bindings/bindings-Connections-macos-aarch64-R4.2.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-macos-aarch64-R4.3.rs b/bindings/bindings-Connections-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..6507810f --- /dev/null +++ b/bindings/bindings-Connections-macos-aarch64-R4.3.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-macos-aarch64-R4.4.rs b/bindings/bindings-Connections-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..cabc73c0 --- /dev/null +++ b/bindings/bindings-Connections-macos-aarch64-R4.4.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d3e2ea35 --- /dev/null +++ b/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-macos-x86_64-R4.2.rs b/bindings/bindings-Connections-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..cf036f5a --- /dev/null +++ b/bindings/bindings-Connections-macos-x86_64-R4.2.rs @@ -0,0 +1,113 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-macos-x86_64-R4.4.rs b/bindings/bindings-Connections-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..560a8f13 --- /dev/null +++ b/bindings/bindings-Connections-macos-x86_64-R4.4.rs @@ -0,0 +1,113 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-windows-x86_64-R4.2.rs b/bindings/bindings-Connections-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..61094f5a --- /dev/null +++ b/bindings/bindings-Connections-windows-x86_64-R4.2.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/bindings/bindings-Connections-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..3eaeada8 --- /dev/null +++ b/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/bindings/bindings-Connections-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..eb791b42 --- /dev/null +++ b/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..408e6a8f --- /dev/null +++ b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Constants-linux-aarch64-R4.2.rs b/bindings/bindings-Constants-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..7dc3fd05 --- /dev/null +++ b/bindings/bindings-Constants-linux-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-aarch64-R4.3.rs b/bindings/bindings-Constants-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..8ceb4ef9 --- /dev/null +++ b/bindings/bindings-Constants-linux-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-aarch64-R4.4.rs b/bindings/bindings-Constants-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..470a994e --- /dev/null +++ b/bindings/bindings-Constants-linux-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..064add97 --- /dev/null +++ b/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-x86_64-R4.2.rs b/bindings/bindings-Constants-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..7dc3fd05 --- /dev/null +++ b/bindings/bindings-Constants-linux-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-x86_64-R4.3.rs b/bindings/bindings-Constants-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..8ceb4ef9 --- /dev/null +++ b/bindings/bindings-Constants-linux-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-x86_64-R4.4.rs b/bindings/bindings-Constants-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..470a994e --- /dev/null +++ b/bindings/bindings-Constants-linux-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..064add97 --- /dev/null +++ b/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-aarch64-R4.2.rs b/bindings/bindings-Constants-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b3330fef --- /dev/null +++ b/bindings/bindings-Constants-macos-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-aarch64-R4.3.rs b/bindings/bindings-Constants-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d34dde3e --- /dev/null +++ b/bindings/bindings-Constants-macos-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-aarch64-R4.4.rs b/bindings/bindings-Constants-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..07971791 --- /dev/null +++ b/bindings/bindings-Constants-macos-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..b1c5388d --- /dev/null +++ b/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-x86_64-R4.2.rs b/bindings/bindings-Constants-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b3330fef --- /dev/null +++ b/bindings/bindings-Constants-macos-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-x86_64-R4.4.rs b/bindings/bindings-Constants-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..07971791 --- /dev/null +++ b/bindings/bindings-Constants-macos-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.2.rs b/bindings/bindings-Constants-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..83ee4e89 --- /dev/null +++ b/bindings/bindings-Constants-windows-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.3.rs b/bindings/bindings-Constants-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..e9c9c0fa --- /dev/null +++ b/bindings/bindings-Constants-windows-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/bindings/bindings-Constants-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..6df00fab --- /dev/null +++ b/bindings/bindings-Constants-windows-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3fe2163d --- /dev/null +++ b/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Error-linux-aarch64-R4.2.rs b/bindings/bindings-Error-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..53d46b6e --- /dev/null +++ b/bindings/bindings-Error-linux-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-aarch64-R4.3.rs b/bindings/bindings-Error-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..8375bb3f --- /dev/null +++ b/bindings/bindings-Error-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-aarch64-R4.4.rs b/bindings/bindings-Error-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..c73e8b31 --- /dev/null +++ b/bindings/bindings-Error-linux-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..7d26bda3 --- /dev/null +++ b/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-x86_64-R4.2.rs b/bindings/bindings-Error-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..53d46b6e --- /dev/null +++ b/bindings/bindings-Error-linux-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-x86_64-R4.3.rs b/bindings/bindings-Error-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..8375bb3f --- /dev/null +++ b/bindings/bindings-Error-linux-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-x86_64-R4.4.rs b/bindings/bindings-Error-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..c73e8b31 --- /dev/null +++ b/bindings/bindings-Error-linux-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..7d26bda3 --- /dev/null +++ b/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-aarch64-R4.2.rs b/bindings/bindings-Error-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..3cc0e17d --- /dev/null +++ b/bindings/bindings-Error-macos-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-aarch64-R4.3.rs b/bindings/bindings-Error-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..e77a191e --- /dev/null +++ b/bindings/bindings-Error-macos-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-aarch64-R4.4.rs b/bindings/bindings-Error-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..82d17cf6 --- /dev/null +++ b/bindings/bindings-Error-macos-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..6e5b3ff7 --- /dev/null +++ b/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-x86_64-R4.2.rs b/bindings/bindings-Error-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..3cc0e17d --- /dev/null +++ b/bindings/bindings-Error-macos-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-x86_64-R4.4.rs b/bindings/bindings-Error-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..82d17cf6 --- /dev/null +++ b/bindings/bindings-Error-macos-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.2.rs b/bindings/bindings-Error-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..e7557858 --- /dev/null +++ b/bindings/bindings-Error-windows-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.3.rs b/bindings/bindings-Error-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..baba3c4e --- /dev/null +++ b/bindings/bindings-Error-windows-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.4.rs b/bindings/bindings-Error-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..f86f6cb3 --- /dev/null +++ b/bindings/bindings-Error-windows-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..87ab4422 --- /dev/null +++ b/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..d7c63b4c --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..528f04eb --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..6fabae98 --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..28c0396d --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..d7c63b4c --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..528f04eb --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..6fabae98 --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..28c0396d --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..072e4a68 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ffe66200 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..dc10260b --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ad8295f5 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs b/bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..072e4a68 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs b/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..dc10260b --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e76d8570 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs @@ -0,0 +1,339 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..fd4dacd0 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs @@ -0,0 +1,352 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..2294d0a7 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs @@ -0,0 +1,352 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..0d1d9d52 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,352 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e76d8570 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs @@ -0,0 +1,339 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..fd4dacd0 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs @@ -0,0 +1,352 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..2294d0a7 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs @@ -0,0 +1,352 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..0d1d9d52 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,352 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..6819de86 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs @@ -0,0 +1,347 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ba5984be --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..62116021 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..2a77198a --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..6819de86 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs @@ -0,0 +1,347 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..62116021 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..35ea4b07 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs @@ -0,0 +1,347 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..e918f433 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..58d58349 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c2969297 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,360 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c4244cf3 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs @@ -0,0 +1,500 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..5833d294 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs @@ -0,0 +1,530 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..60c71b99 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs @@ -0,0 +1,530 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..8e993c3e --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,530 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c4244cf3 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs @@ -0,0 +1,500 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..5833d294 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs @@ -0,0 +1,530 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..60c71b99 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs @@ -0,0 +1,530 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..8e993c3e --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,530 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..129689bb --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs @@ -0,0 +1,503 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..55bbb968 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..10062ac9 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..4ccc1515 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..129689bb --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs @@ -0,0 +1,503 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..10062ac9 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..5a470bca --- /dev/null +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs @@ -0,0 +1,503 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..f05c17c1 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..6a1d5be1 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..21ab2ac2 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,533 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-Itermacros-linux-aarch64-R4.2.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c6e291d2 --- /dev/null +++ b/bindings/bindings-Itermacros-linux-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..0671e8bd --- /dev/null +++ b/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..343a6f0f --- /dev/null +++ b/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1226ded3 --- /dev/null +++ b/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-x86_64-R4.2.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c6e291d2 --- /dev/null +++ b/bindings/bindings-Itermacros-linux-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..0671e8bd --- /dev/null +++ b/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..343a6f0f --- /dev/null +++ b/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1226ded3 --- /dev/null +++ b/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-aarch64-R4.2.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..96856491 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..b44730a4 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..10a8aecc --- /dev/null +++ b/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d0fcf243 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-x86_64-R4.2.rs b/bindings/bindings-Itermacros-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..96856491 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs b/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..10a8aecc --- /dev/null +++ b/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.2.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..aba2823d --- /dev/null +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..a18c08ad --- /dev/null +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..53952474 --- /dev/null +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3c8d37eb --- /dev/null +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Lapack-linux-aarch64-R4.2.rs b/bindings/bindings-Lapack-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..eb3e7353 --- /dev/null +++ b/bindings/bindings-Lapack-linux-aarch64-R4.2.rs @@ -0,0 +1,5345 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-aarch64-R4.3.rs b/bindings/bindings-Lapack-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..71e41c6e --- /dev/null +++ b/bindings/bindings-Lapack-linux-aarch64-R4.3.rs @@ -0,0 +1,5755 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-aarch64-R4.4.rs b/bindings/bindings-Lapack-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..3fc082e3 --- /dev/null +++ b/bindings/bindings-Lapack-linux-aarch64-R4.4.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..3c904b77 --- /dev/null +++ b/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-x86_64-R4.2.rs b/bindings/bindings-Lapack-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..eb3e7353 --- /dev/null +++ b/bindings/bindings-Lapack-linux-x86_64-R4.2.rs @@ -0,0 +1,5345 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-x86_64-R4.3.rs b/bindings/bindings-Lapack-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..71e41c6e --- /dev/null +++ b/bindings/bindings-Lapack-linux-x86_64-R4.3.rs @@ -0,0 +1,5755 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-x86_64-R4.4.rs b/bindings/bindings-Lapack-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..3fc082e3 --- /dev/null +++ b/bindings/bindings-Lapack-linux-x86_64-R4.4.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3c904b77 --- /dev/null +++ b/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-aarch64-R4.2.rs b/bindings/bindings-Lapack-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..3ad303ea --- /dev/null +++ b/bindings/bindings-Lapack-macos-aarch64-R4.2.rs @@ -0,0 +1,5635 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-aarch64-R4.3.rs b/bindings/bindings-Lapack-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..71470981 --- /dev/null +++ b/bindings/bindings-Lapack-macos-aarch64-R4.3.rs @@ -0,0 +1,6045 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-aarch64-R4.4.rs b/bindings/bindings-Lapack-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..c1589d30 --- /dev/null +++ b/bindings/bindings-Lapack-macos-aarch64-R4.4.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..67a7ca55 --- /dev/null +++ b/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-x86_64-R4.2.rs b/bindings/bindings-Lapack-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..3ad303ea --- /dev/null +++ b/bindings/bindings-Lapack-macos-x86_64-R4.2.rs @@ -0,0 +1,5635 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-x86_64-R4.4.rs b/bindings/bindings-Lapack-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..c1589d30 --- /dev/null +++ b/bindings/bindings-Lapack-macos-x86_64-R4.4.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.2.rs b/bindings/bindings-Lapack-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..358bd6ec --- /dev/null +++ b/bindings/bindings-Lapack-windows-x86_64-R4.2.rs @@ -0,0 +1,5635 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.3.rs b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..237a0a00 --- /dev/null +++ b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs @@ -0,0 +1,6045 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..909ce5cb --- /dev/null +++ b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..90847b7b --- /dev/null +++ b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Linpack-linux-aarch64-R4.2.rs b/bindings/bindings-Linpack-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..f2444a0b --- /dev/null +++ b/bindings/bindings-Linpack-linux-aarch64-R4.2.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-aarch64-R4.3.rs b/bindings/bindings-Linpack-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..695f7524 --- /dev/null +++ b/bindings/bindings-Linpack-linux-aarch64-R4.3.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-aarch64-R4.4.rs b/bindings/bindings-Linpack-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..167cb0c7 --- /dev/null +++ b/bindings/bindings-Linpack-linux-aarch64-R4.4.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1bf27815 --- /dev/null +++ b/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-x86_64-R4.2.rs b/bindings/bindings-Linpack-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..f2444a0b --- /dev/null +++ b/bindings/bindings-Linpack-linux-x86_64-R4.2.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-x86_64-R4.3.rs b/bindings/bindings-Linpack-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..695f7524 --- /dev/null +++ b/bindings/bindings-Linpack-linux-x86_64-R4.3.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-x86_64-R4.4.rs b/bindings/bindings-Linpack-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..167cb0c7 --- /dev/null +++ b/bindings/bindings-Linpack-linux-x86_64-R4.4.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1bf27815 --- /dev/null +++ b/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-aarch64-R4.2.rs b/bindings/bindings-Linpack-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..3cc48e57 --- /dev/null +++ b/bindings/bindings-Linpack-macos-aarch64-R4.2.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-aarch64-R4.3.rs b/bindings/bindings-Linpack-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..8e896c06 --- /dev/null +++ b/bindings/bindings-Linpack-macos-aarch64-R4.3.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-aarch64-R4.4.rs b/bindings/bindings-Linpack-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..931721ae --- /dev/null +++ b/bindings/bindings-Linpack-macos-aarch64-R4.4.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..deefadd9 --- /dev/null +++ b/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-x86_64-R4.2.rs b/bindings/bindings-Linpack-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..3cc48e57 --- /dev/null +++ b/bindings/bindings-Linpack-macos-x86_64-R4.2.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-x86_64-R4.4.rs b/bindings/bindings-Linpack-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..931721ae --- /dev/null +++ b/bindings/bindings-Linpack-macos-x86_64-R4.4.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.2.rs b/bindings/bindings-Linpack-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..15b21433 --- /dev/null +++ b/bindings/bindings-Linpack-windows-x86_64-R4.2.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.3.rs b/bindings/bindings-Linpack-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..b7b35556 --- /dev/null +++ b/bindings/bindings-Linpack-windows-x86_64-R4.3.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/bindings/bindings-Linpack-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..34658fa4 --- /dev/null +++ b/bindings/bindings-Linpack-windows-x86_64-R4.4.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..8caa3ee0 --- /dev/null +++ b/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-MathThreads-linux-aarch64-R4.2.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b83a030e --- /dev/null +++ b/bindings/bindings-MathThreads-linux-aarch64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..2c8b3e40 --- /dev/null +++ b/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..b92d0604 --- /dev/null +++ b/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1bfb6dc8 --- /dev/null +++ b/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-x86_64-R4.2.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b83a030e --- /dev/null +++ b/bindings/bindings-MathThreads-linux-x86_64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..2c8b3e40 --- /dev/null +++ b/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..b92d0604 --- /dev/null +++ b/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1bfb6dc8 --- /dev/null +++ b/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-aarch64-R4.2.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..a62726e4 --- /dev/null +++ b/bindings/bindings-MathThreads-macos-aarch64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..a42f9838 --- /dev/null +++ b/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..509d0a7a --- /dev/null +++ b/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..09bc8c16 --- /dev/null +++ b/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-x86_64-R4.2.rs b/bindings/bindings-MathThreads-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..a62726e4 --- /dev/null +++ b/bindings/bindings-MathThreads-macos-x86_64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs b/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..509d0a7a --- /dev/null +++ b/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.2.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..154a3ee2 --- /dev/null +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..9ca40f03 --- /dev/null +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..55a196ba --- /dev/null +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..509068f5 --- /dev/null +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Memory-linux-aarch64-R4.2.rs b/bindings/bindings-Memory-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..d579042c --- /dev/null +++ b/bindings/bindings-Memory-linux-aarch64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-aarch64-R4.3.rs b/bindings/bindings-Memory-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..62408c87 --- /dev/null +++ b/bindings/bindings-Memory-linux-aarch64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-aarch64-R4.4.rs b/bindings/bindings-Memory-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..e21f331f --- /dev/null +++ b/bindings/bindings-Memory-linux-aarch64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1d01a2af --- /dev/null +++ b/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-x86_64-R4.2.rs b/bindings/bindings-Memory-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..d579042c --- /dev/null +++ b/bindings/bindings-Memory-linux-x86_64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-x86_64-R4.3.rs b/bindings/bindings-Memory-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..62408c87 --- /dev/null +++ b/bindings/bindings-Memory-linux-x86_64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-x86_64-R4.4.rs b/bindings/bindings-Memory-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..e21f331f --- /dev/null +++ b/bindings/bindings-Memory-linux-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1d01a2af --- /dev/null +++ b/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-aarch64-R4.2.rs b/bindings/bindings-Memory-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..618a3fef --- /dev/null +++ b/bindings/bindings-Memory-macos-aarch64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-aarch64-R4.3.rs b/bindings/bindings-Memory-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..2d5df377 --- /dev/null +++ b/bindings/bindings-Memory-macos-aarch64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-aarch64-R4.4.rs b/bindings/bindings-Memory-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..71caf42a --- /dev/null +++ b/bindings/bindings-Memory-macos-aarch64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1c1d7c32 --- /dev/null +++ b/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-x86_64-R4.2.rs b/bindings/bindings-Memory-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..467ad6d2 --- /dev/null +++ b/bindings/bindings-Memory-macos-x86_64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-x86_64-R4.4.rs b/bindings/bindings-Memory-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..e4169bd1 --- /dev/null +++ b/bindings/bindings-Memory-macos-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.2.rs b/bindings/bindings-Memory-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..11d80e29 --- /dev/null +++ b/bindings/bindings-Memory-windows-x86_64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.3.rs b/bindings/bindings-Memory-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ce5febfe --- /dev/null +++ b/bindings/bindings-Memory-windows-x86_64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/bindings/bindings-Memory-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..a577edd2 --- /dev/null +++ b/bindings/bindings-Memory-windows-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..cecf3a5a --- /dev/null +++ b/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Parse-linux-aarch64-R4.2.rs b/bindings/bindings-Parse-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..3428d5c8 --- /dev/null +++ b/bindings/bindings-Parse-linux-aarch64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-aarch64-R4.3.rs b/bindings/bindings-Parse-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..22c99040 --- /dev/null +++ b/bindings/bindings-Parse-linux-aarch64-R4.3.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-aarch64-R4.4.rs b/bindings/bindings-Parse-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..a486851c --- /dev/null +++ b/bindings/bindings-Parse-linux-aarch64-R4.4.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..499b2853 --- /dev/null +++ b/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-x86_64-R4.2.rs b/bindings/bindings-Parse-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..3428d5c8 --- /dev/null +++ b/bindings/bindings-Parse-linux-x86_64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-x86_64-R4.3.rs b/bindings/bindings-Parse-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..22c99040 --- /dev/null +++ b/bindings/bindings-Parse-linux-x86_64-R4.3.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-x86_64-R4.4.rs b/bindings/bindings-Parse-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..a486851c --- /dev/null +++ b/bindings/bindings-Parse-linux-x86_64-R4.4.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..499b2853 --- /dev/null +++ b/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-aarch64-R4.2.rs b/bindings/bindings-Parse-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..2836b927 --- /dev/null +++ b/bindings/bindings-Parse-macos-aarch64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-aarch64-R4.3.rs b/bindings/bindings-Parse-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..9ec75694 --- /dev/null +++ b/bindings/bindings-Parse-macos-aarch64-R4.3.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-aarch64-R4.4.rs b/bindings/bindings-Parse-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..4f6fe901 --- /dev/null +++ b/bindings/bindings-Parse-macos-aarch64-R4.4.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..635faf5f --- /dev/null +++ b/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-x86_64-R4.2.rs b/bindings/bindings-Parse-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..2836b927 --- /dev/null +++ b/bindings/bindings-Parse-macos-x86_64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-x86_64-R4.4.rs b/bindings/bindings-Parse-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..4f6fe901 --- /dev/null +++ b/bindings/bindings-Parse-macos-x86_64-R4.4.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.2.rs b/bindings/bindings-Parse-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..ccc26f97 --- /dev/null +++ b/bindings/bindings-Parse-windows-x86_64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.3.rs b/bindings/bindings-Parse-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..74dc2957 --- /dev/null +++ b/bindings/bindings-Parse-windows-x86_64-R4.3.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/bindings/bindings-Parse-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..6f12f189 --- /dev/null +++ b/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f7772bf1 --- /dev/null +++ b/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Print-linux-aarch64-R4.2.rs b/bindings/bindings-Print-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..9e3265ef --- /dev/null +++ b/bindings/bindings-Print-linux-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-linux-aarch64-R4.3.rs b/bindings/bindings-Print-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..351bd141 --- /dev/null +++ b/bindings/bindings-Print-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-linux-aarch64-R4.4.rs b/bindings/bindings-Print-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..7e61637a --- /dev/null +++ b/bindings/bindings-Print-linux-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d13483ca --- /dev/null +++ b/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-linux-x86_64-R4.2.rs b/bindings/bindings-Print-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..ed3c0cf2 --- /dev/null +++ b/bindings/bindings-Print-linux-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-linux-x86_64-R4.3.rs b/bindings/bindings-Print-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..eecad142 --- /dev/null +++ b/bindings/bindings-Print-linux-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-linux-x86_64-R4.4.rs b/bindings/bindings-Print-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..175e5cac --- /dev/null +++ b/bindings/bindings-Print-linux-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..95bc0a69 --- /dev/null +++ b/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-macos-aarch64-R4.2.rs b/bindings/bindings-Print-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..30baa5b1 --- /dev/null +++ b/bindings/bindings-Print-macos-aarch64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-macos-aarch64-R4.3.rs b/bindings/bindings-Print-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d7c353af --- /dev/null +++ b/bindings/bindings-Print-macos-aarch64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-macos-aarch64-R4.4.rs b/bindings/bindings-Print-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..81ded200 --- /dev/null +++ b/bindings/bindings-Print-macos-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..07175c18 --- /dev/null +++ b/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-macos-x86_64-R4.2.rs b/bindings/bindings-Print-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..f5d6593c --- /dev/null +++ b/bindings/bindings-Print-macos-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-macos-x86_64-R4.4.rs b/bindings/bindings-Print-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..0745ab7a --- /dev/null +++ b/bindings/bindings-Print-macos-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.2.rs b/bindings/bindings-Print-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2a7fe51b --- /dev/null +++ b/bindings/bindings-Print-windows-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.3.rs b/bindings/bindings-Print-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..220cd935 --- /dev/null +++ b/bindings/bindings-Print-windows-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.4.rs b/bindings/bindings-Print-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..258f61d9 --- /dev/null +++ b/bindings/bindings-Print-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c822e2a2 --- /dev/null +++ b/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..2faf1b70 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..5e776d99 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..3088af09 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..5fe79511 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..2faf1b70 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..5e776d99 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..3088af09 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..5fe79511 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..f43f0b2c --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..14f27852 --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..f7d677f9 --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..f956e296 --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..f43f0b2c --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..f7d677f9 --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..6f6e1c73 --- /dev/null +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..0dc0d3d4 --- /dev/null +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..61f0d997 --- /dev/null +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..886f6573 --- /dev/null +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b4303013 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..becfd085 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..b133ee4f --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..305da891 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b4303013 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..becfd085 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..b133ee4f --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..305da891 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5e8dd733 --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..7c977fc3 --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..a311262a --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..df0ea0ce --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs b/bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5e8dd733 --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs b/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a311262a --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-R-linux-aarch64-R4.2.rs b/bindings/bindings-R-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..47e51d6e --- /dev/null +++ b/bindings/bindings-R-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-aarch64-R4.3.rs b/bindings/bindings-R-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..2db3d346 --- /dev/null +++ b/bindings/bindings-R-linux-aarch64-R4.3.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-aarch64-R4.4.rs b/bindings/bindings-R-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..88312377 --- /dev/null +++ b/bindings/bindings-R-linux-aarch64-R4.4.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-aarch64-R4.5-devel.rs b/bindings/bindings-R-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..8915f5da --- /dev/null +++ b/bindings/bindings-R-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-x86_64-R4.2.rs b/bindings/bindings-R-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..47e51d6e --- /dev/null +++ b/bindings/bindings-R-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-x86_64-R4.3.rs b/bindings/bindings-R-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..2db3d346 --- /dev/null +++ b/bindings/bindings-R-linux-x86_64-R4.3.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-x86_64-R4.4.rs b/bindings/bindings-R-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..88312377 --- /dev/null +++ b/bindings/bindings-R-linux-x86_64-R4.4.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-x86_64-R4.5-devel.rs b/bindings/bindings-R-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..8915f5da --- /dev/null +++ b/bindings/bindings-R-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-aarch64-R4.2.rs b/bindings/bindings-R-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b18d5c0f --- /dev/null +++ b/bindings/bindings-R-macos-aarch64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const SINT_MAX: u32 = 2147483647; +pub const SINT_MIN: i32 = -2147483648; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-aarch64-R4.3.rs b/bindings/bindings-R-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..54e702b0 --- /dev/null +++ b/bindings/bindings-R-macos-aarch64-R4.3.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-aarch64-R4.4.rs b/bindings/bindings-R-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..020d650f --- /dev/null +++ b/bindings/bindings-R-macos-aarch64-R4.4.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-aarch64-R4.5-devel.rs b/bindings/bindings-R-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..5ea55c52 --- /dev/null +++ b/bindings/bindings-R-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-x86_64-R4.2.rs b/bindings/bindings-R-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b18d5c0f --- /dev/null +++ b/bindings/bindings-R-macos-x86_64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const SINT_MAX: u32 = 2147483647; +pub const SINT_MIN: i32 = -2147483648; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-x86_64-R4.4.rs b/bindings/bindings-R-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..020d650f --- /dev/null +++ b/bindings/bindings-R-macos-x86_64-R4.4.rs @@ -0,0 +1,14 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.2.rs b/bindings/bindings-R-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..05b68056 --- /dev/null +++ b/bindings/bindings-R-windows-x86_64-R4.2.rs @@ -0,0 +1,20 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const SINT_MAX: u32 = 2147483647; +pub const SINT_MIN: i32 = -2147483648; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.3.rs b/bindings/bindings-R-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..2f552e51 --- /dev/null +++ b/bindings/bindings-R-windows-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.4.rs b/bindings/bindings-R-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..2fb3b785 --- /dev/null +++ b/bindings/bindings-R-windows-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.5-devel.rs b/bindings/bindings-R-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..9ad28830 --- /dev/null +++ b/bindings/bindings-R-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-RS-linux-aarch64-R4.2.rs b/bindings/bindings-RS-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e2a225ab --- /dev/null +++ b/bindings/bindings-RS-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-aarch64-R4.3.rs b/bindings/bindings-RS-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..79588d9e --- /dev/null +++ b/bindings/bindings-RS-linux-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-aarch64-R4.4.rs b/bindings/bindings-RS-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..bccc3c5e --- /dev/null +++ b/bindings/bindings-RS-linux-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs b/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..41accd78 --- /dev/null +++ b/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-x86_64-R4.2.rs b/bindings/bindings-RS-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e2a225ab --- /dev/null +++ b/bindings/bindings-RS-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-x86_64-R4.3.rs b/bindings/bindings-RS-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..79588d9e --- /dev/null +++ b/bindings/bindings-RS-linux-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-x86_64-R4.4.rs b/bindings/bindings-RS-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..bccc3c5e --- /dev/null +++ b/bindings/bindings-RS-linux-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs b/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..41accd78 --- /dev/null +++ b/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-aarch64-R4.2.rs b/bindings/bindings-RS-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5d123648 --- /dev/null +++ b/bindings/bindings-RS-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-aarch64-R4.3.rs b/bindings/bindings-RS-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..52dba8ac --- /dev/null +++ b/bindings/bindings-RS-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-aarch64-R4.4.rs b/bindings/bindings-RS-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..5c256f25 --- /dev/null +++ b/bindings/bindings-RS-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs b/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..6310d799 --- /dev/null +++ b/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-x86_64-R4.2.rs b/bindings/bindings-RS-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5d123648 --- /dev/null +++ b/bindings/bindings-RS-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-x86_64-R4.4.rs b/bindings/bindings-RS-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..5c256f25 --- /dev/null +++ b/bindings/bindings-RS-macos-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.2.rs b/bindings/bindings-RS-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..8f4b41eb --- /dev/null +++ b/bindings/bindings-RS-windows-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.3.rs b/bindings/bindings-RS-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..611f96e8 --- /dev/null +++ b/bindings/bindings-RS-windows-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.4.rs b/bindings/bindings-RS-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..5b7711dd --- /dev/null +++ b/bindings/bindings-RS-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..28977669 --- /dev/null +++ b/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.2.rs b/bindings/bindings-RStartup-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a94046fb --- /dev/null +++ b/bindings/bindings-RStartup-linux-aarch64-R4.2.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.3.rs b/bindings/bindings-RStartup-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..0b1d7a2f --- /dev/null +++ b/bindings/bindings-RStartup-linux-aarch64-R4.3.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.4.rs b/bindings/bindings-RStartup-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..0f4c9798 --- /dev/null +++ b/bindings/bindings-RStartup-linux-aarch64-R4.4.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs b/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..113ec8d6 --- /dev/null +++ b/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.2.rs b/bindings/bindings-RStartup-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a94046fb --- /dev/null +++ b/bindings/bindings-RStartup-linux-x86_64-R4.2.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.3.rs b/bindings/bindings-RStartup-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..0b1d7a2f --- /dev/null +++ b/bindings/bindings-RStartup-linux-x86_64-R4.3.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.4.rs b/bindings/bindings-RStartup-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..0f4c9798 --- /dev/null +++ b/bindings/bindings-RStartup-linux-x86_64-R4.4.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..113ec8d6 --- /dev/null +++ b/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.2.rs b/bindings/bindings-RStartup-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..10933192 --- /dev/null +++ b/bindings/bindings-RStartup-macos-aarch64-R4.2.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.3.rs b/bindings/bindings-RStartup-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..486e7e72 --- /dev/null +++ b/bindings/bindings-RStartup-macos-aarch64-R4.3.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.4.rs b/bindings/bindings-RStartup-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..ace78506 --- /dev/null +++ b/bindings/bindings-RStartup-macos-aarch64-R4.4.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs b/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..5a21302d --- /dev/null +++ b/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-macos-x86_64-R4.2.rs b/bindings/bindings-RStartup-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..10933192 --- /dev/null +++ b/bindings/bindings-RStartup-macos-x86_64-R4.2.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-macos-x86_64-R4.4.rs b/bindings/bindings-RStartup-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ace78506 --- /dev/null +++ b/bindings/bindings-RStartup-macos-x86_64-R4.4.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.2.rs b/bindings/bindings-RStartup-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..d51bfde7 --- /dev/null +++ b/bindings/bindings-RStartup-windows-x86_64-R4.2.rs @@ -0,0 +1,224 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.3.rs b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4d07b7cd --- /dev/null +++ b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs @@ -0,0 +1,224 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b6044cb9 --- /dev/null +++ b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -0,0 +1,225 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..41d9ee34 --- /dev/null +++ b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,225 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} diff --git a/bindings/bindings-Rallocators-linux-aarch64-R4.2.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..4794d45e --- /dev/null +++ b/bindings/bindings-Rallocators-linux-aarch64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..113d179f --- /dev/null +++ b/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..d3414dc5 --- /dev/null +++ b/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..68f839a7 --- /dev/null +++ b/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-x86_64-R4.2.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..4794d45e --- /dev/null +++ b/bindings/bindings-Rallocators-linux-x86_64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..113d179f --- /dev/null +++ b/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..d3414dc5 --- /dev/null +++ b/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..68f839a7 --- /dev/null +++ b/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-aarch64-R4.2.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b9d4dd55 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-aarch64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..5b53062d --- /dev/null +++ b/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..73e04ae1 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..5c5b4a40 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-x86_64-R4.2.rs b/bindings/bindings-Rallocators-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b9d4dd55 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-x86_64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs b/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..73e04ae1 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.2.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..6b4d221a --- /dev/null +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..d57b4bee --- /dev/null +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..cf3f2697 --- /dev/null +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..5f4b7ae2 --- /dev/null +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Random-linux-aarch64-R4.2.rs b/bindings/bindings-Random-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..aad46fb4 --- /dev/null +++ b/bindings/bindings-Random-linux-aarch64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-aarch64-R4.3.rs b/bindings/bindings-Random-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..a800cd76 --- /dev/null +++ b/bindings/bindings-Random-linux-aarch64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-aarch64-R4.4.rs b/bindings/bindings-Random-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..25afcd78 --- /dev/null +++ b/bindings/bindings-Random-linux-aarch64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..f81a55f5 --- /dev/null +++ b/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-x86_64-R4.2.rs b/bindings/bindings-Random-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..aad46fb4 --- /dev/null +++ b/bindings/bindings-Random-linux-x86_64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-x86_64-R4.3.rs b/bindings/bindings-Random-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..a800cd76 --- /dev/null +++ b/bindings/bindings-Random-linux-x86_64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-x86_64-R4.4.rs b/bindings/bindings-Random-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..25afcd78 --- /dev/null +++ b/bindings/bindings-Random-linux-x86_64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f81a55f5 --- /dev/null +++ b/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-aarch64-R4.2.rs b/bindings/bindings-Random-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..6ebf2244 --- /dev/null +++ b/bindings/bindings-Random-macos-aarch64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-aarch64-R4.3.rs b/bindings/bindings-Random-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..3f94e1b8 --- /dev/null +++ b/bindings/bindings-Random-macos-aarch64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-aarch64-R4.4.rs b/bindings/bindings-Random-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..a2ac6d55 --- /dev/null +++ b/bindings/bindings-Random-macos-aarch64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ca46a02b --- /dev/null +++ b/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-x86_64-R4.2.rs b/bindings/bindings-Random-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..6ebf2244 --- /dev/null +++ b/bindings/bindings-Random-macos-x86_64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-x86_64-R4.4.rs b/bindings/bindings-Random-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a2ac6d55 --- /dev/null +++ b/bindings/bindings-Random-macos-x86_64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.2.rs b/bindings/bindings-Random-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..9c48cbca --- /dev/null +++ b/bindings/bindings-Random-windows-x86_64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.3.rs b/bindings/bindings-Random-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..acbcef3c --- /dev/null +++ b/bindings/bindings-Random-windows-x86_64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.4.rs b/bindings/bindings-Random-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..4f59dcf9 --- /dev/null +++ b/bindings/bindings-Random-windows-x86_64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..63b30a92 --- /dev/null +++ b/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Rconfig-linux-aarch64-R4.2.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..17ea9cbd --- /dev/null +++ b/bindings/bindings-Rconfig-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..144e4078 --- /dev/null +++ b/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..14ef7095 --- /dev/null +++ b/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..6b9c215b --- /dev/null +++ b/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-x86_64-R4.2.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..17ea9cbd --- /dev/null +++ b/bindings/bindings-Rconfig-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..144e4078 --- /dev/null +++ b/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..14ef7095 --- /dev/null +++ b/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..6b9c215b --- /dev/null +++ b/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-aarch64-R4.2.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..efcc885f --- /dev/null +++ b/bindings/bindings-Rconfig-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..54fb0221 --- /dev/null +++ b/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..478f8387 --- /dev/null +++ b/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..c3c263ba --- /dev/null +++ b/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-x86_64-R4.2.rs b/bindings/bindings-Rconfig-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..efcc885f --- /dev/null +++ b/bindings/bindings-Rconfig-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs b/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..478f8387 --- /dev/null +++ b/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.2.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..3e30b58e --- /dev/null +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..c8a2b4c7 --- /dev/null +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..0b870b1d --- /dev/null +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..8331e50c --- /dev/null +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rdefines-linux-aarch64-R4.2.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b4166ca2 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-aarch64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..55c65317 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..9dec3274 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..c558e305 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-x86_64-R4.2.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b4166ca2 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..55c65317 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..9dec3274 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c558e305 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-aarch64-R4.2.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..f2989c3f --- /dev/null +++ b/bindings/bindings-Rdefines-macos-aarch64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..522e0f6f --- /dev/null +++ b/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..7472bf24 --- /dev/null +++ b/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..bdab50db --- /dev/null +++ b/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-x86_64-R4.2.rs b/bindings/bindings-Rdefines-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..f2989c3f --- /dev/null +++ b/bindings/bindings-Rdefines-macos-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs b/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..7472bf24 --- /dev/null +++ b/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.2.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..d905ace0 --- /dev/null +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..7e5b97a6 --- /dev/null +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..3451dced --- /dev/null +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..93077194 --- /dev/null +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdynload-linux-aarch64-R4.2.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a808b986 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-aarch64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..583817a2 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..5579af6c --- /dev/null +++ b/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..bb024f48 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,83 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-x86_64-R4.2.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a808b986 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-x86_64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..583817a2 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..5579af6c --- /dev/null +++ b/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..bb024f48 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,83 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-aarch64-R4.2.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..4f0f32a9 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-aarch64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..8ed93f49 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..12d49006 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d8319c0c --- /dev/null +++ b/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,83 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-x86_64-R4.2.rs b/bindings/bindings-Rdynload-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..4f0f32a9 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-x86_64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs b/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..12d49006 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2733e5af --- /dev/null +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..57dab81c --- /dev/null +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b6281f4e --- /dev/null +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c2f5c523 --- /dev/null +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,83 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..2858ca95 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..465d0b73 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..6d646ea3 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ad3532e4 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..2858ca95 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..465d0b73 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..6d646ea3 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..ad3532e4 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..6baea76a --- /dev/null +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..132e58c2 --- /dev/null +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..e15c0991 --- /dev/null +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..050ac50d --- /dev/null +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs b/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..6baea76a --- /dev/null +++ b/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs b/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..e15c0991 --- /dev/null +++ b/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..ad3b02e9 --- /dev/null +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..a0986547 --- /dev/null +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..41923555 --- /dev/null +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..30027aa2 --- /dev/null +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn CleanEd(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Riconv-linux-aarch64-R4.2.rs b/bindings/bindings-Riconv-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..1a8a33f4 --- /dev/null +++ b/bindings/bindings-Riconv-linux-aarch64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-aarch64-R4.3.rs b/bindings/bindings-Riconv-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..674fdca8 --- /dev/null +++ b/bindings/bindings-Riconv-linux-aarch64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-aarch64-R4.4.rs b/bindings/bindings-Riconv-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..37f627f0 --- /dev/null +++ b/bindings/bindings-Riconv-linux-aarch64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..0eb50e5c --- /dev/null +++ b/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-x86_64-R4.2.rs b/bindings/bindings-Riconv-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..1a8a33f4 --- /dev/null +++ b/bindings/bindings-Riconv-linux-x86_64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-x86_64-R4.3.rs b/bindings/bindings-Riconv-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..674fdca8 --- /dev/null +++ b/bindings/bindings-Riconv-linux-x86_64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-x86_64-R4.4.rs b/bindings/bindings-Riconv-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..37f627f0 --- /dev/null +++ b/bindings/bindings-Riconv-linux-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..0eb50e5c --- /dev/null +++ b/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-aarch64-R4.2.rs b/bindings/bindings-Riconv-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..c665a426 --- /dev/null +++ b/bindings/bindings-Riconv-macos-aarch64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-aarch64-R4.3.rs b/bindings/bindings-Riconv-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..97979f06 --- /dev/null +++ b/bindings/bindings-Riconv-macos-aarch64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-aarch64-R4.4.rs b/bindings/bindings-Riconv-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..dc162d3d --- /dev/null +++ b/bindings/bindings-Riconv-macos-aarch64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ad0c967c --- /dev/null +++ b/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-x86_64-R4.2.rs b/bindings/bindings-Riconv-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..c665a426 --- /dev/null +++ b/bindings/bindings-Riconv-macos-x86_64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-x86_64-R4.4.rs b/bindings/bindings-Riconv-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..dc162d3d --- /dev/null +++ b/bindings/bindings-Riconv-macos-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.2.rs b/bindings/bindings-Riconv-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..a442598d --- /dev/null +++ b/bindings/bindings-Riconv-windows-x86_64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.3.rs b/bindings/bindings-Riconv-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..dd9101ba --- /dev/null +++ b/bindings/bindings-Riconv-windows-x86_64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/bindings/bindings-Riconv-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..eebba16c --- /dev/null +++ b/bindings/bindings-Riconv-windows-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..056c1235 --- /dev/null +++ b/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..1e806321 --- /dev/null +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..637d1e3f --- /dev/null +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..bac91453 --- /dev/null +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..02726c2e --- /dev/null +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..1e806321 --- /dev/null +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..637d1e3f --- /dev/null +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..bac91453 --- /dev/null +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..02726c2e --- /dev/null +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,65 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..ebaa6d3e --- /dev/null +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs @@ -0,0 +1,72 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..caa7c5bb --- /dev/null +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs @@ -0,0 +1,72 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..9f5da639 --- /dev/null +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs @@ -0,0 +1,72 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..e31c44ef --- /dev/null +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,72 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs b/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..ebaa6d3e --- /dev/null +++ b/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs @@ -0,0 +1,72 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs b/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..9f5da639 --- /dev/null +++ b/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs @@ -0,0 +1,72 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); +} diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..65f8a8a8 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs @@ -0,0 +1,913 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..34c39b07 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs @@ -0,0 +1,922 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..d1ee5731 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs @@ -0,0 +1,925 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..33c315e2 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,935 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..65f8a8a8 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs @@ -0,0 +1,913 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..34c39b07 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs @@ -0,0 +1,922 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..d1ee5731 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs @@ -0,0 +1,925 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..33c315e2 --- /dev/null +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,935 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5344f910 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs @@ -0,0 +1,921 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d5f65cb0 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs @@ -0,0 +1,930 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..80ed3ac8 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs @@ -0,0 +1,933 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..8148499f --- /dev/null +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,943 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5344f910 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs @@ -0,0 +1,921 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..80ed3ac8 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs @@ -0,0 +1,933 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..d96db106 --- /dev/null +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs @@ -0,0 +1,868 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..5f389fda --- /dev/null +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs @@ -0,0 +1,877 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..4e8486e5 --- /dev/null +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -0,0 +1,880 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..486cdc69 --- /dev/null +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,890 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rmath-linux-aarch64-R4.2.rs b/bindings/bindings-Rmath-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a6e8bd22 --- /dev/null +++ b/bindings/bindings-Rmath-linux-aarch64-R4.2.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-aarch64-R4.3.rs b/bindings/bindings-Rmath-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..a0026b46 --- /dev/null +++ b/bindings/bindings-Rmath-linux-aarch64-R4.3.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-aarch64-R4.4.rs b/bindings/bindings-Rmath-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..b7758edc --- /dev/null +++ b/bindings/bindings-Rmath-linux-aarch64-R4.4.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..f76841ba --- /dev/null +++ b/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-x86_64-R4.2.rs b/bindings/bindings-Rmath-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a6e8bd22 --- /dev/null +++ b/bindings/bindings-Rmath-linux-x86_64-R4.2.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-x86_64-R4.3.rs b/bindings/bindings-Rmath-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..a0026b46 --- /dev/null +++ b/bindings/bindings-Rmath-linux-x86_64-R4.3.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-x86_64-R4.4.rs b/bindings/bindings-Rmath-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..b7758edc --- /dev/null +++ b/bindings/bindings-Rmath-linux-x86_64-R4.4.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f76841ba --- /dev/null +++ b/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-aarch64-R4.2.rs b/bindings/bindings-Rmath-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..a62668da --- /dev/null +++ b/bindings/bindings-Rmath-macos-aarch64-R4.2.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distibution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distibution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distibution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-aarch64-R4.3.rs b/bindings/bindings-Rmath-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..3921cb81 --- /dev/null +++ b/bindings/bindings-Rmath-macos-aarch64-R4.3.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-aarch64-R4.4.rs b/bindings/bindings-Rmath-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..ca862e22 --- /dev/null +++ b/bindings/bindings-Rmath-macos-aarch64-R4.4.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..3d2d6296 --- /dev/null +++ b/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-x86_64-R4.2.rs b/bindings/bindings-Rmath-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..a62668da --- /dev/null +++ b/bindings/bindings-Rmath-macos-x86_64-R4.2.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distibution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distibution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distibution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-x86_64-R4.4.rs b/bindings/bindings-Rmath-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ca862e22 --- /dev/null +++ b/bindings/bindings-Rmath-macos-x86_64-R4.4.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.2.rs b/bindings/bindings-Rmath-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..7e96e745 --- /dev/null +++ b/bindings/bindings-Rmath-windows-x86_64-R4.2.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distibution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distibution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distibution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.3.rs b/bindings/bindings-Rmath-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..a6e41ef9 --- /dev/null +++ b/bindings/bindings-Rmath-windows-x86_64-R4.3.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.4.rs b/bindings/bindings-Rmath-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..7c5450ed --- /dev/null +++ b/bindings/bindings-Rmath-windows-x86_64-R4.4.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..d8affb65 --- /dev/null +++ b/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rversion-linux-aarch64-R4.2.rs b/bindings/bindings-Rversion-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e7d4c56c --- /dev/null +++ b/bindings/bindings-Rversion-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-aarch64-R4.3.rs b/bindings/bindings-Rversion-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..c481cadd --- /dev/null +++ b/bindings/bindings-Rversion-linux-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-aarch64-R4.4.rs b/bindings/bindings-Rversion-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..c4982ae0 --- /dev/null +++ b/bindings/bindings-Rversion-linux-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d2dcecd5 --- /dev/null +++ b/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-x86_64-R4.2.rs b/bindings/bindings-Rversion-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e7d4c56c --- /dev/null +++ b/bindings/bindings-Rversion-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-x86_64-R4.3.rs b/bindings/bindings-Rversion-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..c481cadd --- /dev/null +++ b/bindings/bindings-Rversion-linux-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-x86_64-R4.4.rs b/bindings/bindings-Rversion-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..c4982ae0 --- /dev/null +++ b/bindings/bindings-Rversion-linux-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..d2dcecd5 --- /dev/null +++ b/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-aarch64-R4.2.rs b/bindings/bindings-Rversion-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..1f9e2675 --- /dev/null +++ b/bindings/bindings-Rversion-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-aarch64-R4.3.rs b/bindings/bindings-Rversion-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d3c0c495 --- /dev/null +++ b/bindings/bindings-Rversion-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-aarch64-R4.4.rs b/bindings/bindings-Rversion-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..1e721ee2 --- /dev/null +++ b/bindings/bindings-Rversion-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..8f193bb9 --- /dev/null +++ b/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-x86_64-R4.2.rs b/bindings/bindings-Rversion-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..1f9e2675 --- /dev/null +++ b/bindings/bindings-Rversion-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-x86_64-R4.4.rs b/bindings/bindings-Rversion-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..1e721ee2 --- /dev/null +++ b/bindings/bindings-Rversion-macos-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.2.rs b/bindings/bindings-Rversion-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..df46816d --- /dev/null +++ b/bindings/bindings-Rversion-windows-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.3.rs b/bindings/bindings-Rversion-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..46aeb044 --- /dev/null +++ b/bindings/bindings-Rversion-windows-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.4.rs b/bindings/bindings-Rversion-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..9646ccc6 --- /dev/null +++ b/bindings/bindings-Rversion-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..7cd4c74b --- /dev/null +++ b/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Utils-linux-aarch64-R4.2.rs b/bindings/bindings-Utils-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c9c3b642 --- /dev/null +++ b/bindings/bindings-Utils-linux-aarch64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-aarch64-R4.3.rs b/bindings/bindings-Utils-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..d00a7780 --- /dev/null +++ b/bindings/bindings-Utils-linux-aarch64-R4.3.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-aarch64-R4.4.rs b/bindings/bindings-Utils-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..c4cb11df --- /dev/null +++ b/bindings/bindings-Utils-linux-aarch64-R4.4.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..8dd685a9 --- /dev/null +++ b/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,96 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-x86_64-R4.2.rs b/bindings/bindings-Utils-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c9c3b642 --- /dev/null +++ b/bindings/bindings-Utils-linux-x86_64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-x86_64-R4.3.rs b/bindings/bindings-Utils-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..d00a7780 --- /dev/null +++ b/bindings/bindings-Utils-linux-x86_64-R4.3.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-x86_64-R4.4.rs b/bindings/bindings-Utils-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..c4cb11df --- /dev/null +++ b/bindings/bindings-Utils-linux-x86_64-R4.4.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..8dd685a9 --- /dev/null +++ b/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,96 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-aarch64-R4.2.rs b/bindings/bindings-Utils-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5fa96e02 --- /dev/null +++ b/bindings/bindings-Utils-macos-aarch64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-aarch64-R4.3.rs b/bindings/bindings-Utils-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..bc608cc6 --- /dev/null +++ b/bindings/bindings-Utils-macos-aarch64-R4.3.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-aarch64-R4.4.rs b/bindings/bindings-Utils-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..a0baff52 --- /dev/null +++ b/bindings/bindings-Utils-macos-aarch64-R4.4.rs @@ -0,0 +1,114 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..b321b9ba --- /dev/null +++ b/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,97 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "attribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n/\n/* Not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-x86_64-R4.2.rs b/bindings/bindings-Utils-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5fa96e02 --- /dev/null +++ b/bindings/bindings-Utils-macos-x86_64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-x86_64-R4.4.rs b/bindings/bindings-Utils-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a0baff52 --- /dev/null +++ b/bindings/bindings-Utils-macos-x86_64-R4.4.rs @@ -0,0 +1,114 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.2.rs b/bindings/bindings-Utils-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..93b0e643 --- /dev/null +++ b/bindings/bindings-Utils-windows-x86_64-R4.2.rs @@ -0,0 +1,114 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.3.rs b/bindings/bindings-Utils-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..39f47775 --- /dev/null +++ b/bindings/bindings-Utils-windows-x86_64-R4.3.rs @@ -0,0 +1,114 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/bindings/bindings-Utils-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..8adadd84 --- /dev/null +++ b/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..76d56849 --- /dev/null +++ b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,101 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "attribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n/\n/* Not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Visibility-linux-aarch64-R4.2.rs b/bindings/bindings-Visibility-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-Visibility-linux-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-aarch64-R4.3.rs b/bindings/bindings-Visibility-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/bindings/bindings-Visibility-linux-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-aarch64-R4.4.rs b/bindings/bindings-Visibility-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1b070375 --- /dev/null +++ b/bindings/bindings-Visibility-linux-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-x86_64-R4.2.rs b/bindings/bindings-Visibility-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-Visibility-linux-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-x86_64-R4.3.rs b/bindings/bindings-Visibility-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/bindings/bindings-Visibility-linux-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-x86_64-R4.4.rs b/bindings/bindings-Visibility-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..1b070375 --- /dev/null +++ b/bindings/bindings-Visibility-linux-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-aarch64-R4.2.rs b/bindings/bindings-Visibility-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-Visibility-macos-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-aarch64-R4.3.rs b/bindings/bindings-Visibility-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..90a6f487 --- /dev/null +++ b/bindings/bindings-Visibility-macos-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-aarch64-R4.4.rs b/bindings/bindings-Visibility-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..8383afed --- /dev/null +++ b/bindings/bindings-Visibility-macos-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..27468d6f --- /dev/null +++ b/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-x86_64-R4.2.rs b/bindings/bindings-Visibility-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-Visibility-macos-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-x86_64-R4.4.rs b/bindings/bindings-Visibility-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..8383afed --- /dev/null +++ b/bindings/bindings-Visibility-macos-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.2.rs b/bindings/bindings-Visibility-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..cd8c4fe0 --- /dev/null +++ b/bindings/bindings-Visibility-windows-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.3.rs b/bindings/bindings-Visibility-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ddd2233f --- /dev/null +++ b/bindings/bindings-Visibility-windows-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/bindings/bindings-Visibility-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..169a1c83 --- /dev/null +++ b/bindings/bindings-Visibility-windows-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b2b22575 --- /dev/null +++ b/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.2.rs b/bindings/bindings-eventloop-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a9cbef53 --- /dev/null +++ b/bindings/bindings-eventloop-linux-aarch64-R4.2.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.3.rs b/bindings/bindings-eventloop-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..5471d214 --- /dev/null +++ b/bindings/bindings-eventloop-linux-aarch64-R4.3.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.4.rs b/bindings/bindings-eventloop-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..46785975 --- /dev/null +++ b/bindings/bindings-eventloop-linux-aarch64-R4.4.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs b/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..be07108b --- /dev/null +++ b/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.2.rs b/bindings/bindings-eventloop-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a9cbef53 --- /dev/null +++ b/bindings/bindings-eventloop-linux-x86_64-R4.2.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.3.rs b/bindings/bindings-eventloop-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..5471d214 --- /dev/null +++ b/bindings/bindings-eventloop-linux-x86_64-R4.3.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.4.rs b/bindings/bindings-eventloop-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..46785975 --- /dev/null +++ b/bindings/bindings-eventloop-linux-x86_64-R4.4.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs b/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..be07108b --- /dev/null +++ b/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.2.rs b/bindings/bindings-eventloop-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..4a276b39 --- /dev/null +++ b/bindings/bindings-eventloop-macos-aarch64-R4.2.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.3.rs b/bindings/bindings-eventloop-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ab054f29 --- /dev/null +++ b/bindings/bindings-eventloop-macos-aarch64-R4.3.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.4.rs b/bindings/bindings-eventloop-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..62cc2989 --- /dev/null +++ b/bindings/bindings-eventloop-macos-aarch64-R4.4.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs b/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..a9478686 --- /dev/null +++ b/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-x86_64-R4.2.rs b/bindings/bindings-eventloop-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..4a276b39 --- /dev/null +++ b/bindings/bindings-eventloop-macos-x86_64-R4.2.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-x86_64-R4.4.rs b/bindings/bindings-eventloop-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..62cc2989 --- /dev/null +++ b/bindings/bindings-eventloop-macos-x86_64-R4.4.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.2.rs b/bindings/bindings-ga-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..422d7859 --- /dev/null +++ b/bindings/bindings-ga-windows-x86_64-R4.2.rs @@ -0,0 +1,387 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setuserfilterW(arg1: *const wchar_t); + pub fn askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.3.rs b/bindings/bindings-ga-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4bcf1a47 --- /dev/null +++ b/bindings/bindings-ga-windows-x86_64-R4.3.rs @@ -0,0 +1,387 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setuserfilterW(arg1: *const wchar_t); + pub fn askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.4.rs b/bindings/bindings-ga-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..f95047a7 --- /dev/null +++ b/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -0,0 +1,388 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs b/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f6f37219 --- /dev/null +++ b/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,388 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.2.rs b/bindings/bindings-graphapp-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..df06ed8d --- /dev/null +++ b/bindings/bindings-graphapp-windows-x86_64-R4.2.rs @@ -0,0 +1,631 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.3.rs b/bindings/bindings-graphapp-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ea932877 --- /dev/null +++ b/bindings/bindings-graphapp-windows-x86_64-R4.3.rs @@ -0,0 +1,632 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.4.rs b/bindings/bindings-graphapp-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..1ce6f32b --- /dev/null +++ b/bindings/bindings-graphapp-windows-x86_64-R4.4.rs @@ -0,0 +1,634 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs b/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..30954952 --- /dev/null +++ b/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,634 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.2.rs b/bindings/bindings-iconv-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..c6769c3f --- /dev/null +++ b/bindings/bindings-iconv-windows-x86_64-R4.2.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.3.rs b/bindings/bindings-iconv-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..6812df3a --- /dev/null +++ b/bindings/bindings-iconv-windows-x86_64-R4.3.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.4.rs b/bindings/bindings-iconv-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..dac27271 --- /dev/null +++ b/bindings/bindings-iconv-windows-x86_64-R4.4.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs b/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1de3814d --- /dev/null +++ b/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-libextern-linux-aarch64-R4.2.rs b/bindings/bindings-libextern-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-libextern-linux-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-aarch64-R4.3.rs b/bindings/bindings-libextern-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/bindings/bindings-libextern-linux-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-aarch64-R4.4.rs b/bindings/bindings-libextern-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1b070375 --- /dev/null +++ b/bindings/bindings-libextern-linux-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs b/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-x86_64-R4.2.rs b/bindings/bindings-libextern-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-libextern-linux-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-x86_64-R4.3.rs b/bindings/bindings-libextern-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/bindings/bindings-libextern-linux-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-x86_64-R4.4.rs b/bindings/bindings-libextern-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..1b070375 --- /dev/null +++ b/bindings/bindings-libextern-linux-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs b/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-aarch64-R4.2.rs b/bindings/bindings-libextern-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-libextern-macos-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-aarch64-R4.3.rs b/bindings/bindings-libextern-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..90a6f487 --- /dev/null +++ b/bindings/bindings-libextern-macos-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-aarch64-R4.4.rs b/bindings/bindings-libextern-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..8383afed --- /dev/null +++ b/bindings/bindings-libextern-macos-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs b/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..27468d6f --- /dev/null +++ b/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-x86_64-R4.2.rs b/bindings/bindings-libextern-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-libextern-macos-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-x86_64-R4.4.rs b/bindings/bindings-libextern-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..8383afed --- /dev/null +++ b/bindings/bindings-libextern-macos-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.2.rs b/bindings/bindings-libextern-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..cd8c4fe0 --- /dev/null +++ b/bindings/bindings-libextern-windows-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.3.rs b/bindings/bindings-libextern-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ddd2233f --- /dev/null +++ b/bindings/bindings-libextern-windows-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/bindings/bindings-libextern-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..169a1c83 --- /dev/null +++ b/bindings/bindings-libextern-windows-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs b/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b2b22575 --- /dev/null +++ b/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libintl-macos-aarch64-R4.2.rs b/bindings/bindings-libintl-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..44f21adb --- /dev/null +++ b/bindings/bindings-libintl-macos-aarch64-R4.2.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-macos-aarch64-R4.3.rs b/bindings/bindings-libintl-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..df711a6c --- /dev/null +++ b/bindings/bindings-libintl-macos-aarch64-R4.3.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-macos-aarch64-R4.4.rs b/bindings/bindings-libintl-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..447057b0 --- /dev/null +++ b/bindings/bindings-libintl-macos-aarch64-R4.4.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs b/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..916ea54c --- /dev/null +++ b/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-macos-x86_64-R4.2.rs b/bindings/bindings-libintl-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..44f21adb --- /dev/null +++ b/bindings/bindings-libintl-macos-x86_64-R4.2.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-macos-x86_64-R4.4.rs b/bindings/bindings-libintl-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..447057b0 --- /dev/null +++ b/bindings/bindings-libintl-macos-x86_64-R4.4.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.2.rs b/bindings/bindings-libintl-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2d9ff53d --- /dev/null +++ b/bindings/bindings-libintl-windows-x86_64-R4.2.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.3.rs b/bindings/bindings-libintl-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..9229cd48 --- /dev/null +++ b/bindings/bindings-libintl-windows-x86_64-R4.3.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.4.rs b/bindings/bindings-libintl-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..2fb41fca --- /dev/null +++ b/bindings/bindings-libintl-windows-x86_64-R4.4.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs b/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..26b15369 --- /dev/null +++ b/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-linux-aarch64-R4.2.rs b/bindings/bindings-linux-aarch64-R4.2.rs deleted file mode 100644 index 3d8efc62..00000000 --- a/bindings/bindings-linux-aarch64-R4.2.rs +++ /dev/null @@ -1,3211 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.3.rs b/bindings/bindings-linux-aarch64-R4.3.rs deleted file mode 100644 index 7bf2283c..00000000 --- a/bindings/bindings-linux-aarch64-R4.3.rs +++ /dev/null @@ -1,3243 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.4-devel.rs b/bindings/bindings-linux-aarch64-R4.4-devel.rs deleted file mode 100644 index 7f0b1a5a..00000000 --- a/bindings/bindings-linux-aarch64-R4.4-devel.rs +++ /dev/null @@ -1,3231 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"16\0"; -pub const R_SVN_REVISION: u32 = 85542; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.4.rs b/bindings/bindings-linux-aarch64-R4.4.rs deleted file mode 100644 index 84c6ed27..00000000 --- a/bindings/bindings-linux-aarch64-R4.4.rs +++ /dev/null @@ -1,3246 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.5-devel.rs b/bindings/bindings-linux-aarch64-R4.5-devel.rs deleted file mode 100644 index 26fa35f1..00000000 --- a/bindings/bindings-linux-aarch64-R4.5-devel.rs +++ /dev/null @@ -1,3235 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86528; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64.rs b/bindings/bindings-linux-aarch64.rs deleted file mode 120000 index e3de9a56..00000000 --- a/bindings/bindings-linux-aarch64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-linux-aarch64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-linux-x86_64-R4.2.rs b/bindings/bindings-linux-x86_64-R4.2.rs deleted file mode 100644 index 44fd5bf4..00000000 --- a/bindings/bindings-linux-x86_64-R4.2.rs +++ /dev/null @@ -1,3220 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.3.rs b/bindings/bindings-linux-x86_64-R4.3.rs deleted file mode 100644 index 14114fb9..00000000 --- a/bindings/bindings-linux-x86_64-R4.3.rs +++ /dev/null @@ -1,3252 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.4-devel.rs b/bindings/bindings-linux-x86_64-R4.4-devel.rs deleted file mode 100644 index b96ea43f..00000000 --- a/bindings/bindings-linux-x86_64-R4.4-devel.rs +++ /dev/null @@ -1,3240 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"16\0"; -pub const R_SVN_REVISION: u32 = 85542; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.4.rs b/bindings/bindings-linux-x86_64-R4.4.rs deleted file mode 100644 index a22ebc9a..00000000 --- a/bindings/bindings-linux-x86_64-R4.4.rs +++ /dev/null @@ -1,3255 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.5-devel.rs b/bindings/bindings-linux-x86_64-R4.5-devel.rs deleted file mode 100644 index 29bd14aa..00000000 --- a/bindings/bindings-linux-x86_64-R4.5-devel.rs +++ /dev/null @@ -1,3244 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86528; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64.rs b/bindings/bindings-linux-x86_64.rs deleted file mode 120000 index d98ff10c..00000000 --- a/bindings/bindings-linux-x86_64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-linux-x86_64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-macos-aarch64-R4.2.rs b/bindings/bindings-macos-aarch64-R4.2.rs deleted file mode 100644 index b6f7c14b..00000000 --- a/bindings/bindings-macos-aarch64-R4.2.rs +++ /dev/null @@ -1,3262 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distibution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distibution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distibution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64-R4.3.rs b/bindings/bindings-macos-aarch64-R4.3.rs deleted file mode 100644 index 8589198c..00000000 --- a/bindings/bindings-macos-aarch64-R4.3.rs +++ /dev/null @@ -1,3293 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64-R4.4.rs b/bindings/bindings-macos-aarch64-R4.4.rs deleted file mode 100644 index cd066d21..00000000 --- a/bindings/bindings-macos-aarch64-R4.4.rs +++ /dev/null @@ -1,3296 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64-R4.5-devel.rs b/bindings/bindings-macos-aarch64-R4.5-devel.rs deleted file mode 100644 index a2c4eb8e..00000000 --- a/bindings/bindings-macos-aarch64-R4.5-devel.rs +++ /dev/null @@ -1,3285 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"04\0"; -pub const R_SVN_REVISION: u32 = 86521; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64.rs b/bindings/bindings-macos-aarch64.rs deleted file mode 120000 index b60d66d3..00000000 --- a/bindings/bindings-macos-aarch64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-macos-aarch64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-macos-x86_64-R4.2.rs b/bindings/bindings-macos-x86_64-R4.2.rs deleted file mode 100644 index cd69236a..00000000 --- a/bindings/bindings-macos-x86_64-R4.2.rs +++ /dev/null @@ -1,3270 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distibution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distibution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distibution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.3.rs b/bindings/bindings-macos-x86_64-R4.3.rs deleted file mode 100644 index 7432e383..00000000 --- a/bindings/bindings-macos-x86_64-R4.3.rs +++ /dev/null @@ -1,3334 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.4-devel.rs b/bindings/bindings-macos-x86_64-R4.4-devel.rs deleted file mode 100644 index 494018cd..00000000 --- a/bindings/bindings-macos-x86_64-R4.4-devel.rs +++ /dev/null @@ -1,3290 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: Homebrew clang version 17.0.3 */ -/* clang-rs version: Homebrew clang version 17.0.3 */ -/* r version: 4.4.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"11\0"; -pub const R_SVN_REVISION: u32 = 85510; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.4.rs b/bindings/bindings-macos-x86_64-R4.4.rs deleted file mode 100644 index ded7417d..00000000 --- a/bindings/bindings-macos-x86_64-R4.4.rs +++ /dev/null @@ -1,3304 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.5-devel.rs b/bindings/bindings-macos-x86_64-R4.5-devel.rs deleted file mode 100644 index 2db5d2d5..00000000 --- a/bindings/bindings-macos-x86_64-R4.5-devel.rs +++ /dev/null @@ -1,3323 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"20\0"; -pub const R_SVN_REVISION: u32 = 86457; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "this group is not API\n*\nattribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n*/"] - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64.rs b/bindings/bindings-macos-x86_64.rs deleted file mode 120000 index d61a6428..00000000 --- a/bindings/bindings-macos-x86_64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-macos-x86_64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-stats_package-linux-aarch64-R4.2.rs b/bindings/bindings-stats_package-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..2d152835 --- /dev/null +++ b/bindings/bindings-stats_package-linux-aarch64-R4.2.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-aarch64-R4.3.rs b/bindings/bindings-stats_package-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..012148d9 --- /dev/null +++ b/bindings/bindings-stats_package-linux-aarch64-R4.3.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-aarch64-R4.4.rs b/bindings/bindings-stats_package-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..48535e71 --- /dev/null +++ b/bindings/bindings-stats_package-linux-aarch64-R4.4.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs b/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ee6f5a70 --- /dev/null +++ b/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-x86_64-R4.2.rs b/bindings/bindings-stats_package-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..2d152835 --- /dev/null +++ b/bindings/bindings-stats_package-linux-x86_64-R4.2.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-x86_64-R4.3.rs b/bindings/bindings-stats_package-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..012148d9 --- /dev/null +++ b/bindings/bindings-stats_package-linux-x86_64-R4.3.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-x86_64-R4.4.rs b/bindings/bindings-stats_package-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..48535e71 --- /dev/null +++ b/bindings/bindings-stats_package-linux-x86_64-R4.4.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs b/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..ee6f5a70 --- /dev/null +++ b/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-macos-aarch64-R4.2.rs b/bindings/bindings-stats_package-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..02759c41 --- /dev/null +++ b/bindings/bindings-stats_package-macos-aarch64-R4.2.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-macos-aarch64-R4.3.rs b/bindings/bindings-stats_package-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..5bb1de40 --- /dev/null +++ b/bindings/bindings-stats_package-macos-aarch64-R4.3.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-macos-aarch64-R4.4.rs b/bindings/bindings-stats_package-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..b23c2e11 --- /dev/null +++ b/bindings/bindings-stats_package-macos-aarch64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs b/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..5145f4fb --- /dev/null +++ b/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-macos-x86_64-R4.2.rs b/bindings/bindings-stats_package-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..02759c41 --- /dev/null +++ b/bindings/bindings-stats_package-macos-x86_64-R4.2.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-macos-x86_64-R4.4.rs b/bindings/bindings-stats_package-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..b23c2e11 --- /dev/null +++ b/bindings/bindings-stats_package-macos-x86_64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.2.rs b/bindings/bindings-stats_package-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..5425e4ec --- /dev/null +++ b/bindings/bindings-stats_package-windows-x86_64-R4.2.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.3.rs b/bindings/bindings-stats_package-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..e828f559 --- /dev/null +++ b/bindings/bindings-stats_package-windows-x86_64-R4.3.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/bindings/bindings-stats_package-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..9337baa9 --- /dev/null +++ b/bindings/bindings-stats_package-windows-x86_64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs b/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..d5be2b1b --- /dev/null +++ b/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1b070375 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..1b070375 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..72639fc9 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..0e5ee3bd --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..85049f26 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..495e039f --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs b/bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..72639fc9 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..85049f26 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2300cef9 --- /dev/null +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..5bc8c7cc --- /dev/null +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..44244a03 --- /dev/null +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..457ca57d --- /dev/null +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-windows-x86_64-R4.2.rs b/bindings/bindings-windows-x86_64-R4.2.rs deleted file mode 100644 index 7b73cd06..00000000 --- a/bindings/bindings-windows-x86_64-R4.2.rs +++ /dev/null @@ -1,3009 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* clang-rs version: clang version 16.0.6 */ -/* r version: 4.2.3 */ - -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64-R4.3.rs b/bindings/bindings-windows-x86_64-R4.3.rs deleted file mode 100644 index ff9fe19b..00000000 --- a/bindings/bindings-windows-x86_64-R4.3.rs +++ /dev/null @@ -1,3041 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.3.3 */ - -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64-R4.4-devel.rs b/bindings/bindings-windows-x86_64-R4.4-devel.rs deleted file mode 100644 index 3a0985f2..00000000 --- a/bindings/bindings-windows-x86_64-R4.4-devel.rs +++ /dev/null @@ -1,3030 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* clang-rs version: clang version 16.0.6 */ -/* r version: 4.4.0-devel */ - -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"17\0"; -pub const R_SVN_REVISION: u32 = 85550; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64-R4.4.rs b/bindings/bindings-windows-x86_64-R4.4.rs deleted file mode 100644 index bd4828dc..00000000 --- a/bindings/bindings-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,3044 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ - -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64-R4.5-devel.rs b/bindings/bindings-windows-x86_64-R4.5-devel.rs deleted file mode 100644 index 0abda463..00000000 --- a/bindings/bindings-windows-x86_64-R4.5-devel.rs +++ /dev/null @@ -1,3033 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.5.0-devel */ - -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"10\0"; -pub const R_SVN_REVISION: u32 = 86529; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64.rs b/bindings/bindings-windows-x86_64.rs deleted file mode 120000 index 1d2f2ebb..00000000 --- a/bindings/bindings-windows-x86_64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-windows-x86_64-R4.4.rs \ No newline at end of file diff --git a/build.rs b/build.rs index 33303da4..ec4361a0 100644 --- a/build.rs +++ b/build.rs @@ -75,13 +75,11 @@ struct RVersionInfo { impl RVersionInfo { /// Returns the name for precompiled bindings, given R version and targets. /// e.g. `bindings-windows-x86_64-R4.4-devel.rs` - fn get_r_bindings_filename(&self, target_os: &str, target_arch: &str) -> PathBuf { + fn get_r_bindings_filename(&self, name: &str, target_os: &str, target_arch: &str) -> String { let devel_suffix = if self.devel { "-devel" } else { "" }; let major = &self.major; let minor = &self.minor; - PathBuf::from(format!( - "bindings-{target_os}-{target_arch}-R{major}.{minor}{devel_suffix}.rs" - )) + format!("bindings-{name}-{target_os}-{target_arch}-R{major}.{minor}{devel_suffix}.rs") } } @@ -379,24 +377,9 @@ fn set_r_version_vars(ver: &RVersionInfo) { #[cfg(all(feature = "use-bindgen", not(feature = "non-api")))] fn get_non_api() -> std::collections::HashSet { - // Several non-APIs are required for extendr-engine, so we explicitly allow - // these here. If extendr-engine (or other crate) requires more non-APIs, - // add it here with caution. - const REQUIRED_NON_API: [&str; 6] = [ - "R_CStackLimit", - "R_CleanTempDir", - "R_RunExitFinalizers", - "Rf_endEmbeddedR", - "Rf_initialize_R", - "setup_Rmainloop", - ]; - - // nonAPI.txt is generated by + // nonAPI.txt is generated by // Rscript -e 'cat(tools:::nonAPI, sep = "\n")' | tr -d '\r' | sort -u | tee ./nonAPI.txt - let non_api = include_str!("./nonAPI.txt") - .lines() - .filter(|e| !REQUIRED_NON_API.contains(e)) - .map(|s| s.to_string()); + let non_api = include_str!("./nonAPI.txt").lines().map(|s| s.to_string()); std::collections::HashSet::from_iter(non_api) } @@ -407,6 +390,8 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // The bindgen::Builder is the main entry point // to bindgen, and lets you build up options for // the resulting bindings. + + use std::collections::HashMap; let mut bindgen_builder = bindgen::Builder::default(); #[cfg(all(feature = "use-bindgen", not(feature = "non-api")))] @@ -421,7 +406,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .merge_extern_blocks(true) // The input header we would like to generate // bindings for. - .header("wrapper.h") + .header("mini_wrapper.h") // Tell cargo to invalidate the built crate whenever any of the // included header files changed. .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())); @@ -457,9 +442,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { bindgen_builder.clang_args([format!("-I{r_include_path}",), format!("--target={target}")]); // this effectively ignores all non-R headers from sneaking in - bindgen_builder = bindgen_builder - .allowlist_file(r_include_path_escaped) - .allowlist_file(".*wrapper\\.h$"); + bindgen_builder = bindgen_builder.allowlist_file(r".*mini_wrapper\.h$"); // stops warning about ignored attributes, // e.g. ignores `__format__` attributes caused by `stdio.h` @@ -494,7 +477,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let bindgen_builder = bindgen_builder.blocklist_item("VECTOR_PTR"); // Remove all Fortran items, these are items with underscore _ postfix - let bindgen_builder = bindgen_builder.blocklist_item("[A-Za-z_][A-Za-z0-9_]*[^_]_$"); + // let bindgen_builder = bindgen_builder.blocklist_item("[A-Za-z_][A-Za-z0-9_]*[^_]_$"); // Ensure that `SEXPREC` is opaque to Rust let bindgen_builder = bindgen_builder.blocklist_item("SEXPREC"); @@ -512,7 +495,8 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let bindgen_builder = bindgen_builder.blocklist_item("Rcomplex__bindgen_ty_1"); // Finish the builder and generate the bindings. - let bindings = bindgen_builder + let bindgen_builder = bindgen_builder + .detect_include_paths(true) .raw_line(format!( "/* libR-sys version: {} */", env!("CARGO_PKG_VERSION") @@ -524,79 +508,168 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .raw_line(format!("/* r version: {} */", version_info.full)) .generate_comments(true) .parse_callbacks(Box::new(TrimCommentsCallbacks)) - .clang_arg("-fparse-all-comments") - .generate() - // Unwrap the Result and panic on failure. - .expect("Unable to generate bindings"); + .clang_arg("-fparse-all-comments"); + + // generate a bindings file for each available header file + let r_headers = fs_extra::dir::get_dir_content(r_include_path) + .unwrap() + .files; + + let r_headers: Vec<_> = r_headers + .into_iter() + .map(|x| { + let mut r_header_path = x.replace(r"\", r"/"); + if cfg!(windows) { + r_header_path = r_header_path.replace(r"/R_ext", r"\R_ext"); + } + let r_header_path = r_header_path; + r_header_path + }) + .collect(); + + // name to path + let r_headers_to_path = r_headers + .iter() + .map(|r_header_path| { + ( + Path::new(r_header_path) + .file_stem() + .unwrap() + .to_str() + .unwrap(), + r_header_path, + ) + }) + .collect::>(); + + let mut bindgen_builder = bindgen_builder; + #[cfg(windows)] + { + bindgen_builder = bindgen_builder.clang_args(["-DWin32", "-D_Win32"]); + } + let bindgen_builder = bindgen_builder; // Write the bindings to the $OUT_DIR/bindings.rs file. let out_path = PathBuf::from(env::var_os("OUT_DIR").unwrap()); + // dbg!(&out_path); + for r_header in &r_headers { + let r_header_name = Path::new(r_header).file_stem().unwrap().to_str().unwrap(); + + let r_header_regex = regex::escape(&r_header); + // println!("cargo:warning=allowing {}", r_header_regex); + // dbg!(r_header_name); + let mut bindings = bindgen_builder.clone(); + bindings = bindings.allowlist_file(r_header_regex); + match r_header_name { + "Complex" => { + bindings = bindings.header("mini_Rcomplex.h"); + } + "Parse" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } + "Altrep" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } + + "GraphicsEngine" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } - bindings - .write_to_file(out_path.join("bindings.rs")) - .expect("Couldn't write bindings to default output path!"); - - // Also write the bindings to a folder specified by `LIBRSYS_BINDINGS_OUTPUT_PATH`, if defined - if let Some(alt_target) = env::var_os(ENVVAR_BINDINGS_OUTPUT_PATH) { - let out_path = PathBuf::from(alt_target); - // if folder doesn't exist, try to create it - if !out_path.exists() { - fs::create_dir(&out_path).unwrap_or_else(|_| { - panic!( - "Couldn't create output directory for bindings: {}", - out_path.display() - ) - }); + "GraphicsDevice" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + bindings = bindings.header(r_headers_to_path["GraphicsEngine"]); + } + "Connections" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } + "GetX11Image" => { + bindings = bindings.header(r_headers_to_path["Boolean"]); + } + "Rinterface" => bindings = bindings.clang_arg("-DR_INTERFACE_PTRS"), + _ => {} } + bindings = bindings.header(r_header); + + // block all the other r-headers + for other_r_header in &r_headers { + if other_r_header == r_header { + // don't block current header being processed + continue; + } - let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); - let out_file = out_path.join(bindings_file_full); + let other_r_header = regex::escape(&other_r_header); + // println!("cargo:warning=blocking {}", other_r_header); + bindings = bindings.blocklist_file(other_r_header); + } + let binding_name = + version_info.get_r_bindings_filename(&r_header_name, &target_os, &target_arch); + // println!("cargo:warning=binding_name {}", &binding_name); + let bindings = bindings.generate().expect("Unable to generate bindings"); bindings - .write_to_file(&out_file) - .unwrap_or_else(|_| panic!("Couldn't write bindings: {}", out_file.display())); - } else { - println!( + .write_to_file(out_path.join(&binding_name)) + .expect("Couldn't write bindings to default output path!"); + + if let Some(alt_target) = env::var_os(ENVVAR_BINDINGS_OUTPUT_PATH) { + let out_path = PathBuf::from(alt_target); + // if folder doesn't exist, try to create it + if !out_path.exists() { + fs::create_dir(&out_path).unwrap_or_else(|_| { + panic!( + "Couldn't create output directory for bindings: {}", + out_path.display() + ) + }); + } + + let out_file = out_path.join(&binding_name); + + bindings + .write_to_file(&out_file) + .unwrap_or_else(|_| panic!("Couldn't write bindings: {}", out_file.display())); + } else { + println!( "cargo:warning=Couldn't write the bindings since `LIBRSYS_BINDINGS_OUTPUT_PATH` is not set." ); + } } } #[cfg(not(feature = "use-bindgen"))] /// Retrieve bindings from cache, if available. Errors out otherwise. fn retrieve_prebuild_bindings(version_info: &RVersionInfo) { - let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap(); - let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap(); - let bindings_path = PathBuf::from( - env::var_os(ENVVAR_BINDINGS_PATH).unwrap_or_else(|| OsString::from("bindings")), - ); - - // we try a few different file names, from more specific to less specific - let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); - let bindings_file_novers = PathBuf::from(format!("bindings-{target_os}-{target_arch}.rs")); - - let mut from = bindings_path.join(bindings_file_full); - if !from.exists() { - from = bindings_path.join(bindings_file_novers); - if !from.exists() { - panic!( - "Cannot find libR-sys bindings file for R {}.{}.{}{} on {} in {}. Consider compiling with --features use-bindgen.", - version_info.major, version_info.minor, version_info.patch, version_info.devel, target_os, bindings_path.display() - ) - } else { - println!( - "cargo:warning=using generic {}-{} libR-sys bindings. These may not work for R {}.{}.{}{}.", - target_os, target_arch, version_info.major, version_info.minor, version_info.patch, version_info.devel - ); - } - } - - fs::copy( - &from, - PathBuf::from(env::var_os("OUT_DIR").unwrap()).join("bindings.rs"), - ) - .expect("No precomputed bindings available!"); - println!("cargo:rerun-if-changed={}", from.display()); + // let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap(); + // let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap(); + // let bindings_path = PathBuf::from( + // env::var_os(ENVVAR_BINDINGS_PATH).unwrap_or_else(|| OsString::from("src/bindings")), + // ); + + // // we try a few different file names, from more specific to less specific + // let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); + // let bindings_file_novers = PathBuf::from(format!("bindings-{target_os}-{target_arch}.rs")); + + // let mut from = bindings_path.join(bindings_file_full); + // if !from.exists() { + // from = bindings_path.join(bindings_file_novers); + // if !from.exists() { + // panic!( + // "Cannot find libR-sys bindings file for R {}.{}.{}{} on {} in {}. Consider compiling with --features use-bindgen.", + // version_info.major, version_info.minor, version_info.patch, version_info.devel, target_os, bindings_path.display() + // ) + // } else { + // println!( + // "cargo:warning=using generic {}-{} libR-sys bindings. These may not work for R {}.{}.{}{}.", + // target_os, target_arch, version_info.major, version_info.minor, version_info.patch, version_info.devel + // ); + // } + // } + + // fs::copy( + // &from, + // PathBuf::from(env::var_os("OUT_DIR").unwrap()).join("bindings.rs"), + // ) + // .expect("No precomputed bindings available!"); + // println!("cargo:rerun-if-changed={}", from.display()); } /// Provide extra cleaning of the processed elements in the headers. diff --git a/mini_Rcomplex.h b/mini_Rcomplex.h new file mode 100644 index 00000000..0aeaf203 --- /dev/null +++ b/mini_Rcomplex.h @@ -0,0 +1,11 @@ + +// R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran. +// But the old definition is compatible both the union version +// and the struct version. +// See: +///
+typedef struct +{ + double r; + double i; +} R_complex_impl; diff --git a/mini_wrapper.h b/mini_wrapper.h new file mode 100644 index 00000000..d6c10d3c --- /dev/null +++ b/mini_wrapper.h @@ -0,0 +1,27 @@ +#include // for ptrdiff_t + +// R_xlen_t is defined as int on 32-bit platforms, and +// that confuses Rust. Keeping it always as ptrdiff_t works +// fine even on 32-bit. +///
+typedef ptrdiff_t R_xlen_t_rust; + +// Define this for R_CStackLimit +// #define HAVE_UINTPTR_T +#define CSTACK_DEFNS + +// From r83513 (R 4.3), R defines the `NORET` macro differently depending on the +// C/C++ standard the compiler uses. It matters when the header is used in C/C++ +// libraries, but all we want to do here is to make bindgen interpret `NOREP` to +// `!`. However, for some reason, bindgen doesn't handle other no-return +// attributes like `_Noreturn` (for C11) and `[[noreturn]]` (for C++ and C23), +// so we define it here. +#define NORET __attribute__((__noreturn__)) + +//TODO: What to do about this? +// #ifndef _WIN32 +// #define R_INTERFACE_PTRS +// #include +// #else +// extern uintptr_t R_CStackLimit; /* C stack limit */ +// #endif diff --git a/nonAPI.txt b/nonAPI.txt index 18fe2cbd..5759db4e 100644 --- a/nonAPI.txt +++ b/nonAPI.txt @@ -1,15 +1,30 @@ AllDevicesKilled Brent_fmin +COMPLEX0 +DDVAL +ENSURE_NAMEDMAX +ENVFLAGS +FRAME +HASHTAB +INTERNAL +IS_ASCII IS_GROWABLE -IS_SCALAR +IS_UTF8 +LEVELS +NAMED OutDec +PRCODE +PRENV PRIMOFFSET +PRSEEN +PRVALUE RC_fopen +RDEBUG +REAL0 R_CStackLimit R_CStackStart R_CleanTempDir R_ClearerrConsole -R_ClosureExpr R_CollectFromIndex R_CompiledFileName R_Consolefile @@ -86,6 +101,7 @@ R_ignore_SIGPIPE R_isForkedChild R_isMethodsDispatchOn R_moduleCdynload +R_nchar R_new_custom_connection R_opendir R_primitive_generic @@ -125,11 +141,10 @@ Rf_EncodeReal Rf_GPretty Rf_KillAllDevices Rf_NewEnvironment +Rf_NonNullStringMatch Rf_PrintDefaults Rf_ReplIteration Rf_Seql -Rf_StringFalse -Rf_StringTrue Rf_addTaskCallback Rf_begincontext Rf_callToplevelHandlers @@ -142,6 +157,7 @@ Rf_dpptr Rf_endEmbeddedR Rf_endcontext Rf_envlength +Rf_findVarInFrame3 Rf_formatComplex Rf_formatInteger Rf_formatLogical @@ -149,7 +165,6 @@ Rf_formatReal Rf_initEmbeddedR Rf_init_con Rf_initialize_R -Rf_isBlankString Rf_isProtected Rf_jump_to_toplevel Rf_mainloop @@ -158,7 +173,6 @@ Rf_mkFalse Rf_printNamedVector Rf_printRealVector Rf_printVector -Rf_psmatch Rf_removeTaskCallbackByIndex Rf_removeTaskCallbackByName Rf_setSVector @@ -169,10 +183,10 @@ Rf_strchr Rf_strrchr Rf_ucstomb Rf_utf8towcs +Rf_wait_usec Rf_wcstoutf8 Rg_PolledEvents Rg_set_col_ptrs -Rg_wait_usec Ri18n_iswctype Ri18n_wcswidth Ri18n_wctype @@ -186,22 +200,33 @@ Rsockwrite Runzip SETLENGTH SETLEVELS +SET_BODY +SET_CLOENV SET_ENCLOS SET_ENVFLAGS +SET_FORMALS SET_FRAME -SET_GROWABLE +SET_GROWABLE_BIT SET_HASHTAB SET_NAMED SET_PRCODE SET_PRENV +SET_PRSEEN SET_PRVALUE +SET_RDEBUG SET_S4_OBJECT SET_TRUELENGTH +SET_TYPEOF STDVEC_DATAPTR +STRING_PTR +SYMVALUE SaveAction +TRUELENGTH UNIMPLEMENTED_TYPE UNSET_S4_OBJECT -addInputHandler +VECTOR_PTR +XLENGTH_EX +XTRUELENGTH baseRegisterIndex call_R cg_ @@ -212,6 +237,7 @@ csduplicated currentTime dcar dcdr +ddfind do_Rprof do_Rprofmem do_X11 @@ -240,7 +266,6 @@ freeRUser free_R_HOME getConnection getDLLVersion -getInputHandler getPRIMNAME getRUser getSelectedHandler @@ -281,7 +306,6 @@ ptr_do_dataviewer ptr_do_selectlist pythag_ readconsolecfg -removeInputHandler rg_ rs_ run_Rmainloop diff --git a/src/lib.rs b/src/lib.rs index 273f76e4..1b920ca6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,160 +58,309 @@ //! } //! } //! ``` - #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![allow(improper_ctypes)] -include!(concat!(env!("OUT_DIR"), "/bindings.rs")); +#[cfg(feature = "disabled")] +pub mod bindings { + #[cfg(target_os = "macos")] + #[path = "bindings-R-macos-aarch64.rs"] + pub mod r; -#[non_exhaustive] -#[repr(transparent)] -#[derive(Debug)] -pub struct SEXPREC(std::ffi::c_void); + pub mod r_internals { + use super::r_ext::boolean::Rboolean; + use super::r_ext::complex::Rcomplex; + use super::r_ext::r_dynload::DL_FUNC; -extern "C" { - // Return type should match `SEXPTYPE` - pub fn TYPEOF(x: SEXP) -> SEXPTYPE; -} + #[non_exhaustive] + #[repr(transparent)] + #[derive(Debug)] + pub struct SEXPREC(std::ffi::c_void); -#[allow(non_camel_case_types)] -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; + extern "C" { + // Return type should match `SEXPTYPE` + pub fn TYPEOF(x: SEXP) -> SEXPTYPE; + } + + mod secret { + use super::*; + extern "C" { + #[link_name = "Rf_isS4"] + pub fn Rf_isS4_original(arg1: SEXP) -> u32; + } + } -pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { - unsafe { - if secret::Rf_isS4_original(arg1) == 0 { - Rboolean::FALSE - } else { - Rboolean::TRUE + pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { + unsafe { + if secret::Rf_isS4_original(arg1) == 0 { + Rboolean::FALSE + } else { + Rboolean::TRUE + } + } } + + #[cfg(target_os = "macos")] + include!("bindings/bindings-Rinternals-macos-aarch64.rs"); } -} -mod secret { - use super::*; - extern "C" { - #[link_name = "Rf_isS4"] - pub fn Rf_isS4_original(arg1: SEXP) -> u32; + #[cfg(target_os = "macos")] + #[path = "bindings-Rmath-macos-aarch64.rs"] + pub mod r_math; + + #[cfg(target_os = "macos")] + #[path = "bindings-Rversion-macos-aarch64.rs"] + pub mod r_version; + + #[cfg(target_os = "windows")] + #[path = "bindings-Rversion-windows-x86_64.rs"] + pub mod r_version; + + #[cfg(target_os = "macos")] + #[path = "bindings-Rinterface-macos-aarch64.rs"] + pub mod r_interface; + + pub mod r_embedded { + #[cfg(target_os = "macos")] + include!("bindings/bindings-Rembedded-macos-aarch64.rs"); } -} -impl From for bool { - fn from(value: Rboolean) -> Self { - match value { - Rboolean::FALSE => false, - Rboolean::TRUE => true, + #[path = ""] + pub mod r_ext { + pub mod applic { + use super::boolean::Rboolean; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Applic-macos-aarch64.rs"); } - } -} -impl From for Rboolean { - fn from(value: bool) -> Self { - match value { - true => Rboolean::TRUE, - false => Rboolean::FALSE, + pub mod blas { + use super::complex::Rcomplex; + #[cfg(target_os = "macos")] + include!("bindings/bindings-BLAS-macos-aarch64.rs"); } - } -} -#[cfg(test)] -mod tests { - use super::*; - use std::os::raw; - - // Generate constant static strings. - // Much more efficient than CString. - // Generates asciiz. - macro_rules! cstr { - ($s: expr) => { - concat!($s, "\0").as_ptr() as *const raw::c_char - }; - } + pub mod callbacks { + use super::super::r_internals::SEXP; + use super::boolean::Rboolean; - // Generate mutable static strings. - // Much more efficient than CString. - // Generates asciiz. - macro_rules! cstr_mut { - ($s: expr) => { - concat!($s, "\0").as_ptr() as *mut raw::c_char - }; - } + #[cfg(target_os = "macos")] + include!("bindings/bindings-Callbacks-macos-aarch64.rs"); + } + + pub mod GetX11Image { + use super::boolean::Rboolean; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-GetX11Image-macos-aarch64.rs"); + } + + pub mod lapack { + use super::complex::Rcomplex; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Lapack-macos-aarch64.rs"); + } + + #[cfg(target_os = "macos")] + #[path = "bindings-Linpack-macos-aarch64.rs"] + pub mod linpack; + + pub mod parse { + use super::super::r_internals::SEXP; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-Parse-macos-aarch64.rs"); + } + + pub mod r_startup { + use super::boolean::Rboolean; + #[cfg(target_os = "macos")] + include!("bindings/bindings-RStartup-macos-aarch64.rs"); + } + + pub mod r_dynload { + use super::boolean::Rboolean; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Rdynload-macos-aarch64.rs"); + } + + #[path = "bindings-Riconv-macos-aarch64.rs"] + pub mod r_iconv; + + #[cfg(target_os = "macos")] + #[path = "bindings-Visibility-macos-aarch64.rs"] + pub mod visibility; + + #[path = "bindings-eventloop-macos-aarch64.rs"] + pub mod event_loop; + + #[path = "bindings-libintl-macos-aarch64.rs"] + pub mod libintl; - // Thanks to @qinwf and @scottmmjackson for showing the way here. - fn start_R() { - unsafe { - if std::env::var("R_HOME").is_err() { - // env! gets the build-time R_HOME made in build.rs - std::env::set_var("R_HOME", env!("R_HOME")); + #[cfg(target_os = "macos")] + #[path = "bindings-Boolean-macos-aarch64.rs"] + mod boolean_bindings; + + pub mod boolean { + pub use super::boolean_bindings::*; + + impl From for bool { + fn from(value: Rboolean) -> Self { + match value { + Rboolean::FALSE => false, + Rboolean::TRUE => true, + } + } } - // Due to Rf_initEmbeddedR using __libc_stack_end - // We can't call Rf_initEmbeddedR. - // Instead we must follow rustr's example and call the parts. - - //let res = unsafe { Rf_initEmbeddedR(1, args.as_mut_ptr()) }; - if cfg!(target_os = "windows") && cfg!(target_arch = "x86") { - Rf_initialize_R( - 4, - [ - cstr_mut!("R"), - cstr_mut!("--arch=i386"), - cstr_mut!("--slave"), - cstr_mut!("--no-save"), - ] - .as_mut_ptr(), - ); - } else { - Rf_initialize_R( - 3, - [cstr_mut!("R"), cstr_mut!("--slave"), cstr_mut!("--no-save")].as_mut_ptr(), - ); + impl From for Rboolean { + fn from(value: bool) -> Self { + match value { + true => Rboolean::TRUE, + false => Rboolean::FALSE, + } + } } + } - // In case you are curious. - // Maybe 8MB is a bit small. - // eprintln!("R_CStackLimit={:016x}", R_CStackLimit); + #[cfg(target_os = "macos")] + #[path = "bindings-Complex-macos-aarch64.rs"] + pub mod complex; - if cfg!(not(target_os = "windows")) { - R_CStackLimit = usize::max_value(); - } + #[cfg(target_os = "macos")] + #[path = "bindings-Arith-macos-aarch64.rs"] + pub mod arith; + + #[cfg(target_os = "macos")] + #[path = "bindings-Constants-macos-aarch64.rs"] + pub mod constants; + + #[cfg(target_os = "macos")] + #[path = "bindings-Error-macos-aarch64.rs"] + pub mod error; + + #[cfg(target_os = "macos")] + #[path = "bindings-Memory-macos-aarch64.rs"] + pub mod memory; + + #[cfg(target_os = "macos")] + #[path = "bindings-Print-macos-aarch64.rs"] + pub mod print; + + #[cfg(target_os = "macos")] + #[path = "bindings-RS-macos-aarch64.rs"] + pub mod rs; + + #[cfg(target_os = "macos")] + #[path = "bindings-Random-macos-aarch64.rs"] + pub mod random; - setup_Rmainloop(); + #[path = "Utils.rs"] + pub mod utils { + use super::boolean::Rboolean; + use super::complex::Rcomplex; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-Utils-macos-aarch64.rs"); } - } - // Run some R code. Check the result. - #[test] - fn test_eval() { - start_R(); - unsafe { - let val = Rf_protect(R_ParseEvalString(cstr!("1"), R_NilValue)); - Rf_PrintValue(val); - assert_eq!(TYPEOF(val), SEXPTYPE::REALSXP); - assert_eq!(*REAL(val), 1.); - Rf_unprotect(1); - } - // There is one pathological example of `Rf_is*` where `TRUE` is not 1, - // but 16. We show here that the casting is done as intended - unsafe { - let sexp = R_ParseEvalString(cstr!(r#"new("factor")"#), R_GlobalEnv); - Rf_protect(sexp); - Rf_PrintValue(sexp); - - assert_eq!( - std::mem::discriminant(&Rf_isS4(sexp)), - std::mem::discriminant(&Rboolean::TRUE), - ); - assert!(>::into(Rf_isS4(sexp))); - assert!( - (Rboolean::FALSE == Rf_isS4(sexp)) || (Rboolean::TRUE == Rf_isS4(sexp)), - "PartialEq implementation is broken" - ); - assert!(Rboolean::TRUE == Rf_isS4(sexp)); - assert_eq!(Rf_isS4(sexp), Rboolean::TRUE); - Rf_unprotect(1); + #[cfg(target_os = "macos")] + #[path = "bindings-Itermacros-macos-aarch64.rs"] + pub mod itermacros; + + #[cfg(target_os = "macos")] + #[path = "bindings-stats_stubs-macos-aarch64.rs"] + pub mod stats_stubs; + + #[cfg(target_os = "macos")] + #[path = "bindings-stats_package-macos-aarch64.rs"] + pub mod stats_package; + + pub mod graphics_engine { + use super::super::r_internals::cetype_t; + use super::super::r_internals::SEXP; + use super::boolean::Rboolean; + use super::graphics_device::pDevDesc; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-GraphicsEngine-macos-aarch64.rs"); + } + + pub mod graphics_device { + use super::super::r_internals::SEXP; + use super::boolean::Rboolean; + use super::graphics_engine::pGEcontext; + #[cfg(target_os = "macos")] + include!("bindings/bindings-GraphicsDevice-macos-aarch64.rs"); } + + #[path = "bindings-QuartzDevice-macos-aarch64.rs"] + pub mod quartz_device; + + #[path = "bindings-MathThreads-macos-aarch64.rs"] + pub mod math_threads; + + pub mod connections { + use super::boolean::Rboolean; + + include!("bindings/bindings-Connections-macos-aarch64.rs"); + } + + pub mod prt_util { + use super::super::r_internals::SEXP; + use super::complex::Rcomplex; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-PrtUtil-macos-aarch64.rs"); + } + + pub mod altrep { + use super::super::r_internals::{Rbyte, SEXP, SEXPTYPE}; + use super::boolean::Rboolean; + use super::complex::Rcomplex; + use super::r_dynload::DllInfo; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-Altrep-macos-aarch64.rs"); + + #[allow(non_camel_case_types)] + pub type R_altrep_Coerce_method_t = + ::std::option::Option SEXP>; + } + + #[path = "bindings-Rallocators-macos-aarch64.rs"] + pub mod r_allocators; + + // //TODO: this is windows specific. + #[path = "bindings-libextern-macos-aarch64.rs"] + pub mod libextern; + } + + #[cfg(target_os = "macos")] + #[path = "bindings-Rconfig-macos-aarch64.rs"] + pub mod r_config; + + pub mod r_prelude { + pub use super::r_config::*; + pub use super::r_ext::arith::*; + pub use super::r_ext::boolean::*; + pub use super::r_ext::complex::*; + pub use super::r_ext::constants::*; + pub use super::r_ext::error::*; + pub use super::r_ext::libextern::*; + pub use super::r_ext::memory::*; + pub use super::r_ext::print::*; + pub use super::r_ext::random::*; + pub use super::r_ext::rs::*; + pub use super::r_ext::utils::*; } } + +#[cfg(feature = "disabled")] +use bindings::*; + + +#[cfg(feature = "disabled")] +#[cfg(test)] +mod tests; diff --git a/src/tests.rs b/src/tests.rs new file mode 100644 index 00000000..5066d0b3 --- /dev/null +++ b/src/tests.rs @@ -0,0 +1,107 @@ +use bindings::{ + r_embedded::Rf_initialize_R, + r_ext::r_startup::setup_Rmainloop, + r_interface::R_CStackLimit, + r_internals::{ + R_GlobalEnv, R_NilValue, R_ParseEvalString, Rf_PrintValue, Rf_isS4, Rf_protect, + Rf_unprotect, REAL, SEXPTYPE, TYPEOF, + }, + r_prelude::Rboolean, +}; + +use super::*; +use std::os::raw; + +// Generate constant static strings. +// Much more efficient than CString. +// Generates asciiz. +macro_rules! cstr { + ($s: expr) => { + concat!($s, "\0").as_ptr() as *const raw::c_char + }; +} + +// Generate mutable static strings. +// Much more efficient than CString. +// Generates asciiz. +macro_rules! cstr_mut { + ($s: expr) => { + concat!($s, "\0").as_ptr() as *mut raw::c_char + }; +} + +// Thanks to @qinwf and @scottmmjackson for showing the way here. +fn start_R() { + unsafe { + if std::env::var("R_HOME").is_err() { + // env! gets the build-time R_HOME made in build.rs + std::env::set_var("R_HOME", env!("R_HOME")); + } + + // Due to Rf_initEmbeddedR using __libc_stack_end + // We can't call Rf_initEmbeddedR. + // Instead we must follow rustr's example and call the parts. + + //let res = unsafe { Rf_initEmbeddedR(1, args.as_mut_ptr()) }; + if cfg!(target_os = "windows") && cfg!(target_arch = "x86") { + Rf_initialize_R( + 4, + [ + cstr_mut!("R"), + cstr_mut!("--arch=i386"), + cstr_mut!("--slave"), + cstr_mut!("--no-save"), + ] + .as_mut_ptr(), + ); + } else { + Rf_initialize_R( + 3, + [cstr_mut!("R"), cstr_mut!("--slave"), cstr_mut!("--no-save")].as_mut_ptr(), + ); + } + + // In case you are curious. + // Maybe 8MB is a bit small. + // eprintln!("R_CStackLimit={:016x}", R_CStackLimit); + + if cfg!(not(target_os = "windows")) { + R_CStackLimit = usize::max_value(); + } + + setup_Rmainloop(); + } +} + +// Run some R code. Check the result. +#[test] +fn test_eval() { + start_R(); + unsafe { + let val = Rf_protect(R_ParseEvalString(cstr!("1"), R_NilValue)); + Rf_PrintValue(val); + assert_eq!(TYPEOF(val), SEXPTYPE::REALSXP); + assert_eq!(*REAL(val), 1.); + Rf_unprotect(1); + } + // There is one pathological example of `Rf_is*` where `TRUE` is not 1, + // but 16. We show here that the casting is done as intended + unsafe { + let sexp = R_ParseEvalString(cstr!(r#"new("factor")"#), R_GlobalEnv); + Rf_protect(sexp); + Rf_PrintValue(sexp); + + assert_eq!( + std::mem::discriminant(&Rf_isS4(sexp)), + std::mem::discriminant(&Rboolean::TRUE), + ); + assert!(>::into(Rf_isS4(sexp))); + assert!( + (Rboolean::FALSE == Rf_isS4(sexp)) || (Rboolean::TRUE == Rf_isS4(sexp)), + "PartialEq implementation is broken" + ); + assert!(Rboolean::TRUE == Rf_isS4(sexp)); + assert_eq!(Rf_isS4(sexp), Rboolean::TRUE); + Rf_unprotect(1); + } +}